Description Usage Arguments Value See Also Examples
Returns the vector of statistics W of the revisited knockoffs procedure for regressions available in the R package glmnet
. Most of the parameters come from glmnet()
. See glmnet
documentation for more details.
1 2 3 4 |
x |
Input matrix, of dimension nobs x nvars; each row is an observation vector. Can be in sparse matrix format (inherit from class " |
y |
Response variable. Quantitative for |
family |
Response type: "gaussian","binomial","poisson","multinomial","cox". Not available for "mgaussian". |
alpha |
The elasticnet mixing parameter, with 0 <= |
type.gaussian |
See |
type.logistic |
See |
type.multinomial |
See |
nVal |
Length of lambda sequence - default is 50. |
random |
If |
A vector of dimension nvars corresponding to the statistics W.
1 | # see ko.sel
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.