Re: [R] histogram

From: Lars Fischer <lars_at_sec.informatik.tu-darmstadt.de>
Date: Fri, 13 Jun 2008 16:35:43 +0200

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

______________________________________________
R-help_at_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.
Received on Fri 13 Jun 2008 - 17:39:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 13 Jun 2008 - 18:30:44 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive