R function for testing if a vector contains a given element -
In R, how do you see a vector, to see if there is an element in it?
both mail ()
(first shows) and % In%
(a ',' b ',' c ',' e ')' b 'in% v%
v < ## Return Match ('B', V) ## In this situation, 'B' returns the first position: 2
/ Pre>
Comments
Post a Comment