Description Usage Arguments See Also

Utility function. Same as subset_dim, but along the
single dimension with index `which_dim`

.

1 | ```
subset_single_dim(x, which_dim, dim_length, random)
``` |

`x` |
object to subset |

`which_dim` |
index of dimension along which to subset |

`dim_length` |
new length/size of the dimension of |

`random` |
logical, whether to take a random subset or just the head. |

wlandau/downsize documentation built on May 28, 2017, 4:38 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.