| covsel | R Documentation |
Variable selection for high-dimensionnal data with the COVSEL method (Roger et al. 2011).
covsel(X, Y, nvar = NULL, Xscaling = c("none", "pareto", "sd")[1],
Yscaling = c("none", "pareto", "sd")[1], weights = NULL)
X |
X-data ( |
Y |
Y-data ( |
nvar |
Number of variables to select in |
Xscaling |
X variable scaling among "none" (mean-centering only), "pareto" (mean-centering and pareto scaling), "sd" (mean-centering and unit variance scaling). If "pareto" or "sd", uncorrected standard deviation is used. |
Yscaling |
Y variable scaling among "none" (mean-centering only), "pareto" (mean-centering and pareto scaling), "sd" (mean-centering and unit variance scaling). If "pareto" or "sd", uncorrected standard deviation is used. |
weights |
Weights ( |
sel |
A dataframe where variable |
weights |
The weights used for the row observations. |
Roger, J.M., Palagos, B., Bertrand, D., Fernandez-Ahumada, E., 2011. CovSel: Variable selection for highly multivariate and multi-response calibration: Application to IR spectroscopy. Chem. Lab. Int. Syst. 106, 216-223.
n <- 6 ; p <- 4
X <- matrix(rnorm(n * p), ncol = p)
Y <- matrix(rnorm(n * 2), ncol = 2)
covsel(X, Y, nvar = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.