plot.hd2part {personalized2part} | R Documentation |
Plot method for hd2part fitted objects
Description
Plot method for hd2part fitted objects
Usage
## S3 method for class 'hd2part'
plot(
x,
model = c("zero", "positive"),
xvar = c("loglambda", "norm", "lambda"),
labsize = 0.6,
xlab = iname,
ylab = NULL,
main = paste(model, "model"),
...
)
## S3 method for class 'cv.hd2part'
plot(x, sign.lambda = 1, ...)
Arguments
x |
fitted "hd2part" model object |
model |
either |
xvar |
What is on the X-axis. |
labsize |
size of labels for variable names. If labsize = 0, then no variable names will be plotted |
xlab |
label for x-axis |
ylab |
label for y-axis |
main |
main title for plot |
... |
other graphical parameters for the plot |
sign.lambda |
Either plot against log(lambda) (default) or its negative if |
Examples
set.seed(123)
set.seed(123)
[Package personalized2part version 0.0.1 Index]