I have encountered a more fundamental problem in my data set. I'm using read.csv, and all the data are imported as character. How do I do a string comparison in a line like this:

M10[ !sapply(1:10, function(x)666 %in% M10[x,]), ]

Alternately, how do I change the class type on a column in a data frame from character to numeric?

Thank you very much.

Payam

	[[alternative HTML version deleted]]


