View source: R/downsample_mapping.R
downsample_mapping | R Documentation |
downsample_mapping
downsamples a sequence of numbers, 1 through
n
and returns a vector of indices, centered on the middle
number of the original sequence.
downsample_mapping(original_n, down_n)
original_n |
An integer giving the length of the original sequence of numbers. |
down_n |
The desired size of the downsampled sequence. |
A list containing the downsampling factor and a vector a downsampled indices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.