Description Usage Arguments Details Value Examples
Gaussian MX-knockoffs for continuous variables
1 | knockoffs_mx(X)
|
X |
data.frame (or tibble) with "numeric" columns only. The number of columns, ncol(X) needs to be > 2. |
knockoffs_mx
performs MX knockoff simulation.
Second-order multivariate Gaussian knockoff copy of X
1 2 3 4 5 6 7 | #' library(seqknockoff)
set.seed(1)
X <- generate_X(n=100, p=6, p_b=0, cov_type="cov_equi", rho=0.5)
Xk <- knockoffs_mx(X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.