Learn R Programming

brokenstick (version 1.1.0)

residuals.brokenstick: Extract residuals from brokenstick model

Description

Extract residuals from brokenstick model

Usage

# S3 method for brokenstick
residuals(object, new_data = NULL, ...)

Arguments

object

A brokenstick object.

new_data

A data frame or matrix of new predictors.

Additional arguments. Ignored.

Value

See predict.brokenstick().

See Also

Other brokenstick: fitted.brokenstick()