Visualize the spectral condition number against the regularization parameter
This function is now deprecated. Please use CNplot instead.
conditionNumberPlot( S, lambdaMin, lambdaMax, step, type = "Alt", target = default.target(S), norm = "2", digitLoss = FALSE, rlDist = FALSE, vertical = FALSE, value, main = TRUE, nOutput = FALSE, verbose = TRUE )
S |
Sample covariance |
lambdaMin |
A |
lambdaMax |
A |
step |
An |
type |
A |
target |
A target |
norm |
A |
digitLoss |
A |
rlDist |
A |
vertical |
A |
value |
A |
main |
A |
nOutput |
A |
verbose |
A |
See CNplot.
The function returns a graph. If nOutput = TRUE the function
also returns an object of class list:
lambdas |
A |
conditionNumbers |
A |
Carel F.W. Peeters <cf.peeters@vumc.nl>
## Obtain some (high-dimensional) data p = 25 n = 10 set.seed(333) X = matrix(rnorm(n*p), nrow = n, ncol = p) colnames(X)[1:25] = letters[1:25] Cx <- covML(X) ## Assess spectral condition number across grid of penalty parameter conditionNumberPlot(Cx, lambdaMin = .0001, lambdaMax = 50, step = 1000)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.