Learn R Programming

kronos (version 1.0.0)

get_cos_sine: Get sine and cosine components

Description

Based on 'cosinor' and 'limorhyde' packages

Usage

get_cos_sine(data, period, colnamePrefix = NULL)

Arguments

data

input data

period

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

colnamePrefix

A character string. Typically the name of the "Time" variable.