Eleni Christodoulou <elenichri <at> gmail.com> writes: > I was trying to select a column of a data frame using the *which* command. I > was actually selecting the rows of the data frame using *which, *and then > displayed a certain column of it. The command that I was using is: > sequence=*mydata*[*which*(human[,3] %in% genes.sam.names),*9*] .... Please provide a running example. The *mydata* are difficult to read.
Dieter ______________________________________________ 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.