[R] histogram
Lars Fischer
lars at sec.informatik.tu-darmstadt.de
Fri Jun 13 16:35:43 CEST 2008
Hi,
please someone correct me, but
On 13/06/2008, 07:21, pma3622 at yahoo.com wrote:
> dat<-read.table(file="C:\\Documents and Settings\\Owner\\My Documents\\Yeast\\Yeast.txt",header=T,row.names=1)
Check mode and class of dat. read.table provided you with a dataframe
of, essentially, string data. You have to apply as.numeric where it
fits.
> x<-dat[2,23:46]
^
most probably here.
Regards
Lars
p.s. Your code is awfully to read, please add some spaces where
appropriate.
--
Lars Fischer tel: +49 (0)6151 16-2889
Technische Universität Darmstadt
Fachbereich Informatik/ FG Sicherheit in der Informationstechnik
PGP FPR: A197 CBE1 91FC 0CE3 A71D 77F2 1094 CB6E CEE3 7111
More information about the R-help
mailing list