Hello everyone,
I am trying to plot a boxplot but am coming up with the error :
"could not find function dat" I have used the following code.
dat<-read.table(file="C:\\Documents and 
Settings\\.......txt",header=T,row.names=1,blank.lines.skip=F,na.strings="NA")
file.show(file="C:\\Documents and Settings\\......txt")
data<-read.table(file="C:\\Documents and Settings\\.....txt",header=T)
file.show(file="C:\\Documents............txt")

gc<-dat(1:19)
act<-dat(20:39)
x<-as.numeric(dat(100,gc))
y<-as.numeric(dat(100,act))
x<-x(!is.na(x))
y<-y(!is.na(y))
xy.list<-list(x,y)
boxplot(xy.list,col=c("red","blue"),main="Gene 100")
I can not figure out what I am doing wrong with function dat. Any help would be
appreciated.
Paul



      
        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to