Description Usage Arguments Value References Examples
View source: R/generate.knockoff.R
Generate different types of knockoff matrices given an original one.
1 | generate.knockoff(X, type, num, num.comp = 10)
|
X |
An input original design matrix. |
type |
The knockoff type to be generated. There are three choices available: (1) "shrink" for the shrink Gaussian knockoff; (2) "sparse" for the sparse Gaussian knockoff; and (3) "pc" for the pricial component knockoff. |
num |
The number of knockoff matrices to be created. |
num.comp |
The number of pricial components to be used for generating knockoff matrices, the default is 10. |
A list of created knockoff matrices.
barber2015controllingKOBT \insertRefcandes2018panningKOBT \insertRefbien2011sparseKOBT
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.