Hi, I'm trying to extract the information from a dataset. I'm doing: dmr<-which(is.element(iDMR, data))
iDMR is an object on the package I'm using that has a list that I want to extract from my dataset. The problem is that iDMR is of type "closure" and to perform the above I need a vector. I've tried as.vector, but it doesn't work. How can I transform iDMR into a vector? Cheers , Joana [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.