Skip to content

Step wise regression

1 message · Liaw, Andy

#
Hmm...  Shouldn't that be something like:

x[, sample(ncol(x), ceiling(ncol(x) * runif(1)))]

?

Cheers,
Andy