Displaying 1 result from an estimated 1 matches for "28colnames".
2008 Oct 21
1
Error in sample(colnames(B), 10) : invalid 'x' argument
...using:
result=replicate(5,B[,sample(colnames(B),10)],simplify=FALSE)
I get the following error:
"Error in sample(colnames(B), 10) : invalid 'x' argument"
anyone has any idea,why?and how to fix it?
Thanks
--
View this message in context: http://www.nabble.com/Error-in-sample%28colnames%28B%29%2C-10%29-%3A-invalid-%27x%27-argument-tp20094713p20094713.html
Sent from the R help mailing list archive at Nabble.com.