On 30 September 2010 02:48, Michael Larkin <mlar...@rsmas.miami.edu> wrote: > > > > testdat <- replicate( 50, growth[ sample(nrow(growth), 8, rep=TRUE) ] ) > > I can't seem to get it to work. I keep getting the error message of > "undefined columns selected" > > Any advice?
I'd need to know the dimensions of your matrix / data.frame and see the command that you're using to offer any useful advice. Michael ______________________________________________ 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.