create.knockoff.Rd
Generate different types of knockoff matrices given an original one.
create.knockoff(X, type, n_ko, ncomp = 10, verbose = FALSE, ...)
A numeric matrix representing the original design matrix.
The knockoff type to be generated. Available options for type
are:
"shrink" for the shrink Gaussian knockoff;
"sparse" for the sparse Gaussian knockoff;
"pc" for the principal component (PC) knockoff;
"pls" for the partial least squares (PLS) knockoff;
"zpls" for the GZ's sparse partial least squares knockoff.
A positive integer indicating the number of knockoff matrices to be created.
The number of principal components to be used for generating knockoff matrices. Default is 10.
Logical; if TRUE, messages about the progress are printed. Default is FALSE.
Additional arguments to be passed to specific knockoff creation functions.
A list of created knockoff matrices. Each element of the list corresponds to a generated knockoff matrix.
Other create:
create.fixed()
,
create.gaussian()
,
create.pc.knockoff()
,
create.pls.knockoff()
,
create.second_order()
,
create.zpls.knockoff()