powered by
Function to convert promis3a scores to a T score
value_promis3a_scores_IPD( ind_part_data, promis3a_related_words, promis3a_nrcode, promis3a_scoring_table = NULL )
promis3a scores converted to T score included modified data, if success -1, if failure
a data frame containing IPD data
related words to find out which columns contain promis3a data
non response code for promis3a
promis3a scoring table, if given as NULL use the default one
trial_data <- data.frame("tpi.q1" = c(1, 2), "tpi.q2" = c(1, 2), "tpi.q3" = c(1, 2)) results <- value_promis3a_scores_IPD(trial_data, c("tpi"), NA, NULL)
Run the code above in your browser using DataLab