ggellipse {card} | R Documentation |
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 cosinor. This includes the amplitude, acrophase,
ggellipse(object, level = 0.95, ...)
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 |
Object of class ggplot
to help identify confidence intervals
data("twins")
m <- cosinor(rDYX ~ hour, twins, tau = 24)
ggellipse(m)