randomize | R Documentation |
this function provides a randomized dataset to be used by the stratify_data function.
randomize(data, seed = NULL)
data |
dataframe of the full data read in by the read_file function |
seed |
initialize a random number generator with a specific seed value |
simulate_data(number_of_participants=10, covariance_matrix=diag(2), outcome_column=1, means=c(0,0))
randomized_data <- randomize(data=data, seed = 7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.