Displaying 1 result from an estimated 1 matches for "quizzic".
Did you mean:
quizzes
2007 Jan 20
4
simple q: returning a logical vector of substring matches
I'm a relative R novice, and sometimes the simple things trip me up.
Suppose I have
a <- c("apple", "pear")
and I want a logical vector of whether each of these strings contains
"ear" (in this case, F T). What is the idiom?
Quizzically,
Mark Lindeman