Create long-format datasets in simulate_r_database
format_long(x, param, sample_id, var_names, show_applicant, decimals = 2,
noalpha = FALSE)
Simulation list
Is simulation data parameter data (TRUE) or sample data (FALSE)?
What is the ID associated with the sample?
Variables to pull from simulation list
Should applicant data be shown for sample statistics (TRUE) or suppressed (FALSE)?
Number of decimals to which statistical results (not parameters) should be rounded. Rounding to 2 decimal places best captures the precision of data available from published primary research.
Logical scalar indicating whether or not alpha is in the database.
A dataframe of results