Skip to content
Prev 350479 / 398503 Next

Subsetting from pareto distribution

On Apr 28, 2015, at 12:20 PM, W Z wrote:

            
Why not just:

 subdat <- dat[sample( nrow(dat), 1000), ] # if "dataset" is a dataframe

Or:

subdat <- dat[sample( length(dat), 1000) ] # if "dataset" is a vector
Do read the posting guide and the documentation for your mail client and learn how to post in plain text.
David Winsemius
Alameda, CA, USA