simple.recovery.RdThis function generates knockoff variables using the following approaches:
Continuous variables: Ordinary least squares (OLS) regression.
Factor variables: Multinomial logistic regression.
If X is empty, knockoffs are sampled from the marginal distribution of y.
simple.recovery(y, X)A simulated response vector y.sim with the same type and length as y.
Other recovery:
glmnet.recovery(),
ols.recovery(),
pls.recovery(),
spls.recovery()