View source: R/sample_from_datasets.R
| sample_from_datasets | R Documentation |
datasets.Samples elements at random from the datasets in datasets.
sample_from_datasets(
datasets,
weights = NULL,
seed = NULL,
stop_on_empty_dataset = TRUE
)
datasets |
A list ofobjects with compatible structure. |
weights |
(Optional.) A list of |
seed |
(Optional.) An integer, representing the random seed that will be used to create the distribution. |
stop_on_empty_dataset |
If |
A dataset that interleaves elements from datasets at random, according to
weights if provided, otherwise with uniform probability.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.