[R] Another subsetting enigma

Johannes Graumann johannes_graumann at web.de
Tue Feb 20 10:34:52 CET 2007


jim holtman wrote:

>> matches <- sapply(result, function(x){
> +     .comma <- strsplit(x, ',')[[1]]  # get the fields
> +     any(my.list %in% .comma)
> + })

Thanks for that!

Joh



More information about the R-help mailing list