R/helpers.R
sim_data_y.Rd
sim_data_y for simulation with ML-predicted Y
sim_data_y
sim_data_y(r = 0.9, binary = FALSE)
imputation correlation
simulate binary outcome or not
simulated data