add_daybeep: Add dayvar and beepvar to time series dataframes

View source: R/add_daybeep.R

add_daybeepR Documentation

Add dayvar and beepvar to time series dataframes

Description

Add dayvar and beepvar to time series dataframes

Usage

add_daybeep(df, id, datetime)

Arguments

df

dataframe with time series data.

id

The name of the column that contains participant ID variable

datetime

Column name with date and time. Usually generated from Ethica or REDCap

Value

Your dataframe with columns numbering the dates (dayvar), times (beepvar), and consecutive beeps (beepconsec).


cecusack/clairecleans documentation built on Dec. 14, 2024, 3:27 a.m.