R/subset.R
subset_nrow.Rd
Utility function. Subset an object x with rows and return another with min(nrow, nrow(x)) columns.
x
subset_nrow(x, nrow, random)
object to subset
new number of rows
logical, whether to take a random subset or just the head.
help_downsize