Learn R Programming

grpregOverlap (version 2.2-0)

plot.grpregOverlap: Plot object "grpregOverlap"

Description

Plot the paths of estimated coefficients, latent coefficients (default), or L2 norms of the groups for a fitted object "grpregOverlap".

Usage

"plot"(x, legend.loc, alpha = 1, latent = TRUE, log.l = FALSE, norm = FALSE, ...)

Arguments

x
The fitted "grpregOverlap" object.
legend.loc
Where to put the legend? If left unspecified, no legend is drawn. See legend for details.
alpha
Controls alpha-blending. Default is alpha=1.
latent
Should plot the paths of latent coefficients? Default is TRUE. Note $\hat{\gamma}$ is used as the label of y axis to represent latent coefficient vector.
log.l
Should horizontal axis be on the log scale? Default is FALSE.
norm
If TRUE, plot the norm of each group, rather than the individual coefficients. Note that the norm is of latent coefficients.
...
Other graphical parameters to plot, matlines, or legend.

See Also

grpregOverlap

Examples

Run this code
## See examples in 'grpregOverlap'

Run the code above in your browser using DataLab