Description Usage Arguments Value Examples
The subsampling is iteratively performed in order to generate multiple subsamples of a predetermined size.
1 | subsample(n, size = n%/%2, n_subsample)
|
n |
original sample size |
size |
subsample size |
n_subsample |
total number of subsamples |
a matrix of indices with size
rows
and n_subsample
columns.
1 2 3 4 | n <- 50 # Total number of samples
n_subsample <- 10 # Number of subsamples
sub_matrix <- subsample(n = n, n_subsample = n_subsample)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.