search for: str_match

Displaying 4 results from an estimated 4 matches for "str_match".

Did you mean: str_catch
2011 Dec 09
0
stringr 0.6
...at missing inputs result in missing outputs, and zero length inputs? ?result in zero length outputs. ?* Completes R's string handling functions with useful functions from other? ?programming languages. stringr 0.6 =========== * new modifier `perl` that switches to Perl regular expressions * `str_match` now uses new base function `regmatches` to extract matches - this should hopefully be faster than my previous pure R algorithm -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/ _______________________________________________ R-...
2011 Dec 09
0
stringr 0.6
...at missing inputs result in missing outputs, and zero length inputs? ?result in zero length outputs. ?* Completes R's string handling functions with useful functions from other? ?programming languages. stringr 0.6 =========== * new modifier `perl` that switches to Perl regular expressions * `str_match` now uses new base function `regmatches` to extract matches - this should hopefully be faster than my previous pure R algorithm -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/ _______________________________________________ R-...
2013 Nov 06
1
Multiple String word replacements: Performance Issue
...<-list(pattern="[^-[:alnum:]\\'\\:\\/\\$\\%\\.\\,\\+\\-\\#\\@\\_\\!\\?+[:space:]]",replacement="",x=y, ignore.case=TRUE) y<-do.call(gsub, arguments) # Lowercase arguments<-list(string=y,pattern=tolower(rep_ticker)) first<-do.call(str_match,arguments) # Identify signal words and count them # Need to be done in parts, because otherwise R can't handle this many at once arguments<-list(string=x, pattern=rep_words_part1) t1<-do.call(str_extract_all,arguments) arguments<-list(string=x...
2010 Jun 03
5
string handling
I have a data.frame as the following: var1 var2 9G/G09 abd89C/T90 10A/T9 32C/C 90G/G A/A . . . . . . 10T/C 00G/G90 What I want is to get the letters which are on the left and right of '/'. for example, for "9G/G09", I only want "G", "G", and for "abd89C/T90", I only want "C" and