[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”,

[R] script to data clear

2014-08-12 Thread Maicel Monzón Pérez
Hello List, I did this script to clear data after import (I don’t know is ok ). After its execution levels and label values got lost. Could some explain me to reassign levels again in the script (new depurate value)? Best regard Maicel Monzon MD, PHD Center of Cybernetic Apply to Medicine # d