Learn R Programming

segmented (version 2.1-1)

model.matrix.segmented: Design matrix for segmented fits

Description

This function builds the model matrix for segmented fits.

Usage

# S3 method for segmented
model.matrix(object, ...)

Value

The design matrix for a segmented regression model with the specified formula and data

Arguments

object

A segmented fit

...

additional arguments

Author

Vito Muggeo

Details

model.matrix.segmented

See Also

See Also as model.matrix