value_ADL_scores_IPD {packDAMipd} | R Documentation |
Function to convert ADL scores to a T score
Description
Function to convert ADL scores to a T score
Usage
value_ADL_scores_IPD(
ind_part_data,
adl_related_words,
adl_nrcode,
adl_scoring_table = NULL
)
Arguments
ind_part_data |
a data frame containing IPD data |
adl_related_words |
related words to find out which columns contain adl data |
adl_nrcode |
non response code for ADL |
adl_scoring_table |
ADL scoring table, if given as NULL use the default one |
Value
ADL scores converted to T score included modified data, if success -1, if failure
Examples
datafile <- system.file("extdata", "trial_data.csv", package = "packDAMipd")
trial_data <- load_trial_data(datafile)
value_ADL_scores_IPD(trial_data,c("tpi"), NA, adl_scoring_table = NULL)
[Package packDAMipd version 1.1.0 Index]