sim_data_y: Simulate the data for testing the functions

View source: R/utils_pspa.R

sim_data_yR Documentation

Simulate the data for testing the functions

Description

sim_data_y for simulation with ML-predicted Y

Usage

sim_data_y(r = 0.9, binary = FALSE)

Arguments

r

imputation correlation

binary

simulate binary outcome or not

Value

simulated data


ipd documentation built on March 11, 2026, 5:07 p.m.