create_subset | R Documentation |
Index of the samples grouped by batches.
create_subset(size_data, size_subset = NULL, n = NULL, name = "SubSet")
size_data |
A numeric value of the amount of samples to distribute. |
size_subset |
A numeric value with the amount of samples per batch. |
n |
A numeric value with the number of batches. |
name |
A character used to name the subsets, either a single one or a
vector the same size as |
A random list of indices of the samples.
batch_names()
, use_index()
if you already
have a factor to be used as index.
index <- create_subset(100, 50, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.