| intercept {segmented} | R Documentation |
Computes the intercepts of each ‘segmented’ relationship in the fitted model.
intercept(ogg, parm, rev.sgn = FALSE, var.diff=FALSE,
digits = max(3, getOption("digits") - 3))
ogg |
an object of class "segmented", returned by any |
parm |
the segmented variable whose intercepts have to be computed. If missing all the segmented variables in the model are considered. |
rev.sgn |
vector of logicals. The length should be equal to the length of |
var.diff |
Currently ignored as only point estimates are computed. |
digits |
controls number of digits in output. |
A broken-line relationship means that a regression equation exists in the intervals
'min(x) to psi1', 'psi1 to psi2', and so on.
intercept computes point estimates of the intercepts of the different regression equations
for each segmented relationship in the fitted model.
intercept returns a list of one-column matrices. Each matrix represents a segmented relationship.
Vito M. R. Muggeo, vito.muggeo@unipa.it
See also slope to compute the slopes of the different regression equations
for each segmented relationship in the fitted model.
## see ?slope ## Not run: intercept(out.seg) ## End(Not run)