plot.ggmix_fit {ggmix} | R Documentation |
Plot Method for ggmix_fit
object
Description
Produces a coefficient profile plot of the coefficient paths for
a fitted ggmix_fit
object.
Usage
## S3 method for class 'ggmix_fit'
plot(x, ..., xvar = c("norm", "lambda", "dev"), label = FALSE, sign.lambda = 1)
plotCoef(
beta,
norm,
lambda,
df,
dev,
label = FALSE,
xvar = c("norm", "lambda", "dev"),
xlab = iname,
ylab = "Coefficients",
...
)
Arguments
x |
a |
... |
other graphical parameters passed to |
xvar |
What is on the X-axis. "norm" plots against the L1-norm of the coefficients, "lambda" against the log-lambda sequence, and "dev" against the percent deviance explained. |
label |
If TRUE, label the curves with variable sequence numbers. |
sign.lambda |
Either plot against log(lambda) (default) or its negative if sign.lambda=-1 |
beta |
fixed effects estimates |
norm |
l1 norm of fixed effect estimates. if missing, (default) this function will calculate it |
lambda |
sequence of tuning parameters |
df |
number of non-zero fixed + random effects |
dev |
percent deviance |
xlab |
x-axis label |
ylab |
y-axis label |
Details
A coefficient profile plot is produced
Value
A plot is produced and nothing is returned