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