ggellipse {card}R Documentation

Graphical Assessment of Amplitude and Acrophase

Description

This is a ggplot-styled graphical representation of the ellipse region generated by the cosinor analysis. It requires the same data used by cosinor model to be fit with the model card::cosinor. This includes the amplitude, acrophase,

Usage

ggellipse(object, level = 0.95, ...)

Arguments

object

Requires a cosinor model to extract the correct statistics to generate the plot.

level

Confidence level for ellipse

...

Additional parameters may be needed for extensibility

Value

Object of class ggplot to help identify confidence intervals

Examples

data("twins")
m <- cosinor(rDYX ~ hour, twins, tau = 24)
ggellipse(m)

[Package card version 0.1.0 Index]