generate_random_example {nestedpp}R Documentation

Generates random data frame

Description

Function that returns a random data frames

Usage

generate_random_example(seed = 1234, nrow = 10, ncol = 5, withNA = TRUE)

Arguments

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

Value

a data frame with random data

Examples

example_data = generate_random_example(seed = 123456, nrow = 15, ncol=6)


[Package nestedpp version 0.2.0 Index]