I have done a read.table on a data file with the aim of extracting
subsets of the data eg
table[table$desc = 'result1',]
How can I convert $desc to a character type? At present it is seen by
typeof() as an integer.
How can I do the equivalent of
table[table$desc = 'result1' && table$amt > 20, ]
Thanks,
Rory
--
Rory Campbell-Lange
<[EMAIL PROTECTED]>
<www.campbell-lange.net>
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html