plot.ordPen | R Documentation |
Takes a fitted ordPen
object and plots estimated dummy coefficients
of ordinal predictors for different lambda
values.
## S3 method for class 'ordPen'
plot(x, whl = NULL, whx = NULL,
type = NULL, xlab = NULL, ylab = NULL, main = NULL,
xlim = NULL, ylim = NULL, col = NULL, ...)
x |
an |
whl |
a vector of indices of |
whx |
a vector of indices indicating the ordinal predictors whose
dummy coefficients are plotted; e.g., set |
type |
1-character string giving the type of plot desired, see
|
xlab |
a label for the x axis; if supplied then this will be used as the x label for all plots. |
ylab |
a label for the y axis; if supplied then this will be used as the y label for all plots. |
main |
a main title for the plot(s); if supplied then this will be used as the title for all plots. |
xlim |
the x limits; if supplied then this pair of numbers are used as the x limits for each plot. |
ylim |
the y limits; if supplied then this pair of numbers are used as the y limits for each plot. |
col |
the plotting color; can be a vector of the same length as
|
... |
additional graphical parameters (see |
The function simply generates plots.
Jan Gertheiss
ordFusion
, ordSelect
, ordSmooth
# see for example
help(ordSelect)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.