replicate | R Documentation |
This is useful to test the replicability of a modelling pipeline or to prepare for permutations.
replicate(object, n)
object |
of class resamples, created by a |
n |
number of times to replicate |
The input object with each row replicated n
times and a new column replic
giving the replicate number.
rs <- resample_split(mtcars, p=0.7)
replicate(rs, n=5)
rs <- resample_cv(mtcars, k=3, n=2)
replicate(rs, n=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.