cosinor
objectAugment 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.
# S3 method for cosinor
augment(x, ...)
A cosinor
object created by card::cosinor()
For extensibility
a tibble
object