Description Usage Arguments Value Examples
View source: R/create.pc.knockoff.R
Create non-parametric knockoffs based on principal component regression and residuals permutation.
1 | create.pc.knockoff(X, pc.num)
|
X |
An input original design matrix. |
pc.num |
The number of pricial components to be used for generating knockoff matrices. |
A principal component knockoff matrix.
1 2 3 | set.seed(10)
X <- matrix(rnorm(100), nrow = 10)
tmp <- create.pc.knockoff(X = X, pc.num = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.