ggmix_fit
objectProduces a coefficient profile plot of the coefficient paths for
a fitted ggmix_fit
object.
# S3 method for 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",
...
)
a ggmix_fit
object
other graphical parameters passed to plot
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.
If TRUE, label the curves with variable sequence numbers.
Either plot against log(lambda) (default) or its negative if sign.lambda=-1
fixed effects estimates
l1 norm of fixed effect estimates. if missing, (default) this function will calculate it
sequence of tuning parameters
number of non-zero fixed + random effects
percent deviance
x-axis label
y-axis label
A plot is produced and nothing is returned
A coefficient profile plot is produced