Within the plot.lars code, change the type argument to matplot from 'b' to 'l':
library(lars)
myplot.lars <- edit(plot.lars)
#change type = 'b' to type = 'l' in the call to matplot
data(diabetes)
object <- with(diabetes, lars(x,y))
myplot.lars(object, lty = 1, breaks = FALSE)
hth,
Kingsford Jon
When plotting a lars object, I cannot find a way to plot solid lines.
Even when the arguments breaks=F and lty="solid" are used, the vertical
lines at the break points do not plot but asterisks indicating the
breaks still plot as part of each path leaving solid lines broken up by
asterisks at the b
2 matches
Mail list logo