cal_mean_idx: Calculate Mean Index

View source: R/SleepEstEachDay.R

cal_mean_idxR 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


ActiSleep documentation built on June 22, 2024, 10:21 a.m.