GetSampleFromDataFrame {dils} | R Documentation |
Randomly select n
rows from data.frame x
.
GetSampleFromDataFrame(n, x)
n |
numeric, size of sample. |
x |
data.frame, data whose rows will be sampled. |
data.frame, size n random subset of the rows of x
Stephen R. Haptonstahl srh@haptonstahl.org
https://github.com/shaptonstahl/
ScalablePCA
,
GetSampleFromFile
,
GetSampleFromFile
data(iris) # provides example data x <- dils:::GetSampleFromDataFrame(10, iris)