Skip to contents

This function builds the model matrix for segmented fits.

Usage

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

Arguments

object

A segmented fit

...

additional arguments

Details

model.matrix.segmented

Value

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

Author

Vito Muggeo

See also

See Also as model.matrix