Description Usage Arguments Value See Also Examples
Produces a plot of the coefficient paths for a fitted
PCLasso
object.
1 2 |
x |
Fitted |
norm |
If TRUE, plot the norm of each group, rather than the individual coefficients. |
... |
Other graphical parameters to |
No return value, called for plotting of PCLasso
objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # load data
data(survivalData)
data(PCGroups)
x = survivalData$Exp
y = survivalData$survData
PC.Human <- getPCGroups(Groups = PCGroups, Organism = "Human",
Type = "EntrezID")
# fit PCLasso model
fit.PCLasso <- PCLasso(x, y, group = PC.Human, penalty = "grLasso")
# plot the norm of each group
plot(fit.PCLasso, norm = TRUE)
# plot the individual coefficients
plot(fit.PCLasso, norm = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.