add_activity_profile: Add an activity profile column to the dataset

Description Usage Arguments Value

View source: R/add_activity_profile.R

Description

Takes all of the subject's activity counts, Xt, and transforms it into the activity profile, Ta

Usage

1
2
3
4
5
6
7
add_activity_profile(
  data,
  activity_col,
  group_col,
  grid_length = 100,
  quantiles = c(0.05, 0.95)
)

Arguments

data

dataset containing the activity counts for each group in the sample

activity_col

the name of the column that contains the activity data

group_col

the name of the column that contains the grouping label

Value

the same dataset with an additional columns for the activity profiles and analysis


thecbp/ActivityProfileR documentation built on April 10, 2021, 6:44 p.m.