cal_mean_idx {ActiSleep}R Documentation

Calculate Mean Index

Description

Calculate the mean index of a segment

Usage

cal_mean_idx(i, datain, idx_start, idx_end)

Arguments

i

segment index

datain

activity data, must be a data frame

idx_start

array of segment start indices

idx_end

array of segment end indices

Value

mean value of segment indices


[Package ActiSleep version 0.2.2 Index]