get_age_details: Function to get the details of the age column

Description Usage Arguments Value Examples

View source: R/trialanalysis_input_functions.R View source: R/trialdata_analysis_input_functions.R

Description

Function to get the details of the age column

Usage

1
get_age_details(trialdata)

Arguments

trialdata,

data containing individual level trial data

Value

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

Examples

1
get_age_details(data.frame("Age" = c(21,15), "arm" = c("control", "intervention")))

sheejamk/MarkovModel documentation built on Jan. 23, 2020, 2:44 a.m.