Hello,

How can I judge if a string is in a group of string? For example, I would like to have

if (subpool in pool){
}else{
}

Where

> pool = c("s1","s2")
> subpool = c("s1")

How can I write the "subpool in pool" right in R?

Thanks very much!

Cheers,

Rebecca


----------------------------------------------------------------------
This message, and any attachments, is for the intended r...{{dropped:5}}

