[R] Another subsetting enigma
Johannes Graumann
johannes_graumann at web.de
Mon Feb 19 16:13:27 CET 2007
Hello again,
I'm trying to do the following:
subset(dataframe,list %in% strsplit(dataframe[[Field]],","))
But This returns always the complete dataframe, since the
strsplit(dataframe[[Field]],",") is evaluated as one big list for the whole
data frame rather than one list per row. How can I have this evaluated on a
per row basis?
After 1.5 h hitting head against wall - begging for insights ...
Joh
More information about the R-help
mailing list