concatenate_results | R Documentation |
This function takes a data frame as input and adds a summary column to it. The summary column contains a concatenated string that describes the patient's score, range, percentile, and classification.
concatenate_results(df)
df |
A data frame containing the patient's scores and related information. |
A character vector containing the concatenated summary strings.
df <- data.frame(
scale = c("IQ", "Memory"),
score = c(100, 80),
range = c("Above Average", "Below Average"),
percentile = c(75, 25),
ci_95 = c("[95, 105]", "[75, 85]"),
description = c("intelligence", "memory")
)
concatenate_results(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.