Description Usage Arguments Value Examples
Simulate n rows of a randomly generated data set from an existing data set. General structure (column means and correlations) are preserved.
1 |
orig_dat |
A data set the user wishes to generate a random, correlated data set for. |
nrows |
The number of rows to make the output data set. |
your_choice_of_NA |
A vector of characters that denote missing values (e.g., "N/A", 999). |
Returns a data set of randomly generated data corelated with the riginal data set.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.