Displaying 1 result from an estimated 1 matches for "resba".
Did you mean:
resb
2012 Aug 02
3
text search in r
I am trying to count the number of times that the characters in a string
change
For example-
new=c(AAAABBBBBABBBABB)
I want to find the number of times that B changes to A and the number of
times that A changes to B. I tried the grep command but I only figured out
the positions of when B changes to A when I only need the number of times it
occurs.
--
View this message in context: