Skip to content

menuRandomSample funciton in S+ -> R?

2 messages · Phguardiol@aol.com, Brian Ripley

#
It supports the menu system in S-PLUS for Windows, and R doesn't have that
menu system. You don't need it: to sample rows from a data frame use

DF[sample(nrow(DF), size), ]

or something like that.
On Fri, 9 Jan 2004 Phguardiol at aol.com wrote: