sim_val_var_v2.RdSimulate Longitudinal Ordinal Data
sim_val_var_v2( dat, PRO.score = "Y_comp", n.val = 5, n.cat = c(3, NA, NA, NA, 5), cor.val.ref = c(0.5, 0.6, 0.8, 0.2, 0.3) )
| dat | pass the dataframe | 
|---|---|
| n.val | numeric, number of validators | 
| n.cat | numeric vector, number of categories in each validator, NA for continuous validator variables | 
| cor.val.ref | Reference Measure generation, numeric vector, the correlation between the PRO score and each of the  | 
returns a dataframe containing the simulated data