get_timepoint_details: Function to get the details of the time point column

Description Usage Arguments Details Value Examples

View source: R/3a_trialdata_analysis_input_functions.R

Description

Function to get the details of the time point column

Usage

1

Arguments

trialdata,

data containing individual level trial data

Details

expecting the data contains the information on timepoints preferably column names "time point", "times" or "time" or "timepoint". If multiple column names match these, then first match will be chosen.

Value

the name of the variable related to time point and the unique contents if success, else error

Examples

1
2
get_timepoint_details(data.frame("time" = c(21, 15),
"arm" = c("control", "intervention")))

packDAMipd documentation built on March 3, 2021, 5:07 p.m.