Function to repeat rows in sim_df and produces a sample for each

sim_samples(measure = "mean", measure_spread = "sd", sim_dat, trials = 3)

Arguments

measure

Calculate sample median or mean. Defaults to mean.

measure_spread

Defaults to standard deviation, sd. Specify "iqr", "range", "sd", "var". Will have to check how many of these are done right now.

sim_dat

Dataframe created by sim_df.

trials

Number of trials, that is repeated rows to return. Defaults to 3 (small number of trials is good for testing).