Description Usage Arguments Details Value Examples
Takes any dataset, checks format of each variable Based on distribution from original variable, randomly samples into a new dataset n times
1 | sampleUnivariate(inputData, n, dateFormat = "%Y%m%d")
|
inputData |
"true" dataset that you want to sample from |
n |
number of rows in output/simulated dataset |
dateFormat |
format of the date variable (if one exists) in the original dataset |
Returns distributionally similar dataset
simData – a dataset with n rows that is distributionally similar to input dataset
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.