ExtCos_long: Extended Cosinor Model for Circadian Rhythmicity for Whole...

Description Usage Arguments Value Examples

View source: R/ExtCos_long.R

Description

A parametric approach to study circadian rhythmicity assuming cosinor shape. Here we used the anti logistic transformed cosine curves, which provided 5 parameters. This function is a wrapper for ExtCos.

Usage

1
ExtCos_long(count.data, logtransform = TRUE)

Arguments

count.data

data.frame of dimension n*1442 containing the 1440 minute activity data for all n subject days. The first two columns have to be ID and Day.

logtransform

Conduct log transfomation before. Default is TRUE.

Value

A data.frame with following columns

ID

identifier of the person

min

minimum

amp

amplitude

alpha

alpha parameter

beta

beta parameter

acro

acrophase

F_imp

pseudo-F statistics

Examples

1
2
3
data(example_activity_data)
count.data = example_activity_data$count
extcos = ExtCos_long(count.data = count.data, logtransform  = TRUE)

junruidi/actigraphy documentation built on Sept. 25, 2019, 7:48 a.m.