search for: a_asd

Displaying 1 result from an estimated 1 matches for "a_asd".

Did you mean: a_aid
2012 Feb 14
3
Wildcard for indexing?
...ments of a vector that start with A (A*) OR that start with B (B*)" Probably that is quite easy. I looked into grep() which I think might perform such tasks, but probably there is a more straigth forward solution. a <- c("A_A","A_B","C_A","BB","A_Asd") a[a=="A_A"| a=="A_B"] # here I'd like an index but with wildcard /johannes --