bin_data {actogrammr}R Documentation

bin_data

Description

function to bin data time-wise

Usage

bin_data(data, minutes_per_bin)

Arguments

data

the activity data to bin

minutes_per_bin

number of minutes per bin

Value

the data, after binning

Examples

f <- file.path(system.file(package = 'actogrammr'), 'testdata')
d <- read_clock_lab_files(file_names = list.files(path = f, full.names = TRUE))
b <- bin_data(data = d, minutes_per_bin = 6)

[Package actogrammr version 0.2.3 Index]