subset_dim | R Documentation |
Utility function. Subset an object x
with a
dim
attribute (matrix/array/data.frame/etc.)
and return another with dimensions pmin(dim, dim(x))
subset_dim(x, dim, random)
x |
object to subset |
dim |
new dimensions |
random |
logical, whether to take a random subset or just the head. |
help_downsize
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.