The goal of weartime is to implement the wear time algorithm from https://github.com/shaheen-syed/CNN-Non-Wear-Time-Algorithm/. This algorithm is used to determine the wear time of a device, such as an accelerometer, that is worn by a person. The algorithm is based on a convolutional neural network (CNN) that is trained to determine if a window of data is wear time or non-wear time. The algorithm is trained on the ActiGraph GT3X+ accelerometer data, but can be used on other accelerometer data as well.
You can install the released version of weartime from CRAN with:
install.packages("weartime")
And the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("muschellij2/weartime")
This is a basic example which shows you how to solve a common problem:
library(weartime)
## basic example code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.