sim_data {POPInf} | R Documentation |
Simulate the data for testing the functions
Description
sim_data
function for the calculation of the matrix A
Usage
sim_data(r = 0.9, binary = FALSE)
Arguments
r |
imputation correlation |
binary |
simulate binary outcome or not |
Value
simulated data
[Package POPInf version 1.0.0 Index]