View source: R/rags2ridgesDepr.R
conditionNumberPlot | R Documentation |
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 <carel.peeters@wur.nl>
CNplot
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.