Learn R Programming

kronos (version 1.0.0)

fit_groupwise_model: 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.