augment.cosinor {card}R Documentation

Augment data with information from a cosinor object

Description

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 by card::cosinor()

...

For extensibility

Value

a tibble object

See Also

Other cosinor: cosinor(), ggcosinor()


[Package card version 0.1.0 Index]