luk wrote: > Hi, > > I got the fowllowing error message when I run pamr. Could you please advise > me what does this error mean? > > Many thanks > -------------- > > >>mydata <- pamr.from.excel("datgrp4", 352, sample.labels=TRUE) > > > Read 812768 items > > Read in 2307 genes > > Read in 350 samples > > Read in 350 sample labels > > Make sure these figures are correct!! > > >>mytrain <- pamr.train(mydata) > > > Error in if (from == to || length.out < 2) by <- 1 : > > missing value where logical needed
There is no reproducible example given, hence we can only guess. Might be a bug in package "pamr" or user error, if the first, you want to contact the package maintainer rather than R help. Uwe Ligges > > > > > --------------------------------- > > Rekindle the Rivalries. Sign up for Fantasy Football > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html