Description Usage Arguments Details Value See Also Examples
Function to visualize a gvcm.cat
object.
1 2 3 4 |
x |
a |
accuracy |
integer; number of digits being compared when setting coefficents equal/to zero for plotting |
type |
one out of |
individual |
logical; for |
xlim |
the |
ylim |
the |
main |
title of the plot |
indent |
numeric; if larger zero, coefficient names printed on top of each other are adjusted |
color |
logical; if |
xscale |
for |
label |
omits addtional information printed in the plot, if |
intercept |
for |
... |
further arguments passed to or from other methods |
Default option type="path"
delivers a graphic with the coefficient paths between 0 (= maximal penalization) and 1 (= no penalization).
Maximal penalization is defined by the minimal penalty parameter lambda
that sets all penalized coefficients to zero (to constant relating to the intercept and assured.intercept = TRUE
).
Minimal penalization means no penalization at all, i.e. lambda = 0
.
Of course the minimal penalty parameter causing maximal penalization depends on how selection and clustering of coefficients is defined (see function gvcm.cat
and cat_control
).
Coefficients belonging to one covariate are plotted in the same color, coefficients that are not modified are plotted as dashed lines.
Paths are drawn by connecting steps
estimates related to different values of lambda
, see cat_control
.
Option type="score"
plots the cross-validation score (depending on criterion
in cat_control
) as a function of penalty parameter lambda
and marks the chosen penalty parameter as a dotted line.
Opton type="coefs"
plots the penalized coefficients whenever possible.
So far, there is no plot for methods "AIC"
and "BIC"
.
A plot.
Function gvcm.cat
1 | ## see example for function gvcm.cat
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.