fit_groupwise_model: Fit cosinor model

View source: R/kronos.R

fit_groupwise_modelR Documentation

Fit cosinor model

Description

Fit cosinor model for one aspect of data. Called by main 'kronos' function.

Usage

fit_groupwise_model(data, group, time, period, verbose)

Arguments

data

input data

group

A character string. Signifies which group will be assessed.

time

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

period

A numeric. The length of a period, in the same format as the time parameter.

verbose

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


thomazbastiaanssen/kronos documentation built on May 1, 2023, 6:45 p.m.