View source: R/3b_outcome_analysis_functions.R
value_promis3a_scores_IPD | R Documentation |
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
)
ind_part_data |
a data frame containing IPD data |
promis3a_related_words |
related words to find out which columns contain promis3a data |
promis3a_nrcode |
non response code for promis3a |
promis3a_scoring_table |
promis3a scoring table, if given as NULL use the default one |
promis3a scores converted to T score included modified data, if success -1, if failure
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.