This function calcualte interdaily stability, a nonparametric metric
of circadian rhtymicity. This function is a whole dataset
wrapper for IS
IS_long2(count.data, window = 1, method = c("average", "sum"))data.frame of dimension n * (1440+2) containing the
1440 dimensional activity data for all n subject days.
The first two columns have to be ID and Day. ID can be
either character or numeric. Day has to be numeric indicating
the sequency of days within each subject.
an integer indicating what is the window to bin the data before
the function can be apply to the dataset. For details, see bin_data.
character of "sum" or "average", function used to bin the data
A data.frame with the following 2 columns
ID
IS
Junrui Di et al. Joint and individual representation of domains of physical activity, sleep, and circadian rhythmicity. Statistics in Biosciences.