Learn R Programming

kronos (version 1.0.0)

fit_cosinor_model: Fit cosinor model

Description

Fit cosinor model for totality of data

Usage

fit_cosinor_model(
  formula,
  data,
  time = NULL,
  verbose = verbose,
  for_pw = FALSE
)

Arguments

formula

A formula. Use the time function to designate which variable represents time.

data

Input data

time

A string. Should be the column name containing the time values.

verbose

A boolean. Toggles whether to print diagnostic information while running. Useful for debugging errors on large datasets.

for_pw

A boolean. Toggles whether to perform pairwise ANOVAs as a TukeyHSD-like post-hoc.