get_cos_sine: Get sine and cosine components

View source: R/kronos.R

get_cos_sineR Documentation

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.


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