Calculate fitted values
Usage
# S3 method for class 'brokenstick'
fitted(object, newdata = NULL, ...)
Value
A numerical vector with predictions. The number of elements equals the
number of rows in newdata
. If newdata
is not specified, the function
looks for the training data in object
as the element named data
.
See also
Other brokenstick:
residuals.brokenstick()