Augment data with information from a cosinor
object
Source: R/cosinor-constructor.R
augment.cosinor.Rd
Augment accepts a cosinor
model object and adds information about each observation in the dataset. This includes the predicted values in the .fitted
column and the residuals in the .resid
column. New columns always begin with a .
prefix to avoid overwriting columns in original dataset.
Usage
# S3 method for class 'cosinor'
augment(x, ...)
Arguments
- x
A
cosinor
object created bycosinor()
- ...
For extensibility