Re: [R] Unique values in dataframe columns

2014-09-25 Thread Jeff Newmiller
You messed up the quote marks and the "library" function is not capitalized. You defined your search list by the name "list", which is also the name of a commonly used base function in R. Also, the vector you gave to GetAllSubsets had several misleading invisible conversions to character because

[R] Unique values in dataframe columns

2014-09-25 Thread Maicel Monzón Pérez
Hello list I would like to know how can i detect dataframe columns that have as unique values elements of a list. For example, at a given dataframe to look for columns that unique values are elements of a list like this one… dataframe<-data.frame( x = c("yes”, "1”, "no”, "no”), y = c("black”,