generate_random_example {nestedpp} | R Documentation |
Function that returns a random data frames
generate_random_example(seed = 1234, nrow = 10, ncol = 5, withNA = TRUE)
seed |
seed for random generation |
nrow |
number of rows |
ncol |
number of columns |
withNA |
bool to indicate if we want to include some NA values in the data frame |
a data frame with random data
example_data = generate_random_example(seed = 123456, nrow = 15, ncol=6)