Entering edit mode
10.2 years ago
Sheila
▴
280
I am trying to reproduce the PAMR results following this link: http://statweb.stanford.edu/~tibs/PAM/Rdist/doc/readme.html
> library(pamr)
> data(khan)
> khan.train <- pamr.train(khan)
Error in 1:ncol(data$x) : argument of length 0
Anyone know what is the cause of this error?
A pointer to any useful (& working) tutorial about PAMR will be also very helpful.