Points method for segmented objects
Takes a fitted segmented
object returned by segmented()
and adds
on the current plot the joinpoints of the fitted broken-line relationships.
## S3 method for class 'segmented' points(x, term, interc = TRUE, link = TRUE, rev.sgn=FALSE, transf=I, .vcov=NULL, .coef=NULL, ...)
x |
an object of class |
term |
the segmented variable of interest. It may be unspecified when there is a single segmented variable. |
interc |
If |
link |
when |
rev.sgn |
when |
transf |
A possible function to convert the fitted values before plotting. |
.vcov |
The full covariance matrix of estimates. If unspecified (i.e. |
.coef |
The regression parameter estimates. If unspecified (i.e. |
... |
other graphics parameters to pass on to |
We call 'joinpoint' the plane point having as coordinates the breakpoint (on the x scale) and the fitted value of
the segmented relationship at that breakpoint (on the y scale). points.segmented()
simply adds the fitted
joinpoints on the current plot. This could be useful to emphasize the changes of the piecewise linear relationship.
plot.segmented
to plot the fitted segmented lines.
## Not run: #see examples in ?plot.segmented ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.