RA_long | R Documentation |
This function calcualte relative amplitude, a nonparametric metric
of circadian rhtymicity. This function is a whole dataset
wrapper for RA
.
RA_long(count.data, window = 1, method = c("average", "sum"))
count.data |
|
window |
since the caculation of M10 and L5 depends on the dimension of data, we need to include
window size as an argument. This function is a whole dataset
wrapper for |
method |
|
A data.frame
with the following 3 columns
ID |
ID |
Day |
Day |
RA |
RA |
data(example_activity_data) count1 = example_activity_data$count[1:12,] ra_all = RA_long(count.data = count1, window = 10, method = "average")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.