View source: R/calc_percentage.R
calc_percentage | R Documentation |
This is an internal generic and should not be called directly. Depending on the different percent change cutoff requested by the user, this function calculates the relative change according clinical significance category for each patient.
calc_percentage(data, pct_improvement, pct_deterioration, direction)
data |
A pre-processed data frame with at least columns |
pct_improvement |
Numeric, the required percent change cutoff to infer an improvement |
pct_deterioration |
Numeric, the required percent change cutoff to infer a deterioration |
An object of classm cs_percentage
list with participant-wise info
on clinical significant change catergory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.