Description Usage Arguments Details Note Author(s) Examples
Quickly generate random dataframes of unordered factor variables with known associations
1 |
n |
Number of rows in the resulting dataframe |
k |
Number of columns in the resulting dataframe |
nlevel |
Number of levels in the factor variables created |
rho |
Level of association among the variables created |
seed |
Allows an arbitrary seed of length n to be passed to generate starting values |
keepSeed |
logical; do you want to return the initializing seed |
... |
Additional arguments to be passed to |
Rho is used to generate associations between preceding variables in the dataframe.
Element 1 and 2 are associated at the level of rho. Element 2 and 3 are also associated at the level of
rho. All variables have the same number of levels – nlevels – and currently factor level names
are randomly generated from letters
.
For low n the value of rho will vary more greatly from the desired value.
Jared E. Knowles
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.