Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

augment.cosinor

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()


card

Cardiovascular and Autonomic Research Design

v0.1.0
MIT + file LICENSE
Authors
Anish S. Shah [aut, cre, cph] (<https://orcid.org/0000-0002-9729-1558>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.