Skip to content

rcorty/actogrammr

Repository files navigation

Travis-CI Build Status Coverage Status

actogrammr

The goal of actogrammr is to read in data on cirdacian activity, process it, and plot it, e.g. in an actogram.

Installation

You can install the latest release of actogrammr with:

install.packages(pkgs = 'actogrammr')

Or, if you want the newest features, you can install from github:

# install.packages("devtools")
devtools::install_github("rcorty/actogrammr")

Data Import

library(actogrammr)

f <- file.path(system.file(package = 'actogrammr'), 'testdata')
d <- read_clock_lab_file(file_name = list.files(path = f, full.names = TRUE)[1])

Data Processing

b <- bin_data(data = d, minutes_per_bin = 6)

Plotting

plot_actogram(data = b, start_date = '2010-01-01')

About

read activity data and plot actograms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages