fitted.brokenstick | R Documentation |
Calculate fitted values
## S3 method for class 'brokenstick'
fitted(object, newdata = NULL, ...)
object |
A |
newdata |
Optional. A data frame in which to look for variables with
which to predict. The training data are used if omitted and
if |
... |
Additional arguments. Ignored. |
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
.
Other brokenstick:
residuals.brokenstick()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.