Description Usage Arguments Value
Computes the basis for a segmented model. Used primarily in a linear regression or load model.
1 | segment(x, psi)
|
x |
the data to segment. Missing values are permitted and result corresponding in missing values in output. |
psi |
a numeric vector of the breakpoints. |
A matrix contining a column named X of the data in x
and
paired U and P columns for each of the breaks in psi
that form the
basis for that segment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.