plot.apple: plot apple path

Description Usage Arguments Details Author(s) References See Also

View source: R/plot.R

Description

Plot the solution path generated from apple.

Usage

1
2
3
## S3 method for class 'apple'
plot(x, col = "black", add = FALSE, 
main = "apple", type = "l", lty = 1, ...)

Arguments

x

the object used to plot the path. object derived by "apple" and "cv.apple" are both available here. for "cv.apple" object, ebic and cv selected solutions are also lined in the graph.

col

color used to plot the paths, for details please see the usage of col in plot.

add

whether or not to add this plot to an existing one.

main

title of the plot. default is main="apple"

type

what type of plot should be drawn, for details please see the usage of plot.

lty

the line type, for details please see the usage of par

...

see matplot.

Details

if the object is a cv result, then both of ebic and cv selected result will be marked on the graph by solid and dotted vertical lines, respectively.

Author(s)

Yi Yu and Yang Feng

References

Yi Yu and Yang Feng, APPLE: Approximate Path for Penalized Likelihood Estimator, manuscript.

See Also

apple, cv.apple and predict.apple


apple documentation built on May 2, 2019, 3:23 a.m.

Related to plot.apple in apple...