Learn R Programming

ActiSleep (version 0.2.2)

cal_mean_idx: Calculate Mean Index

Description

Calculate the mean index of a segment

Usage

cal_mean_idx(i, datain, idx_start, idx_end)

Value

mean value of segment indices

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