Skip to contents

Print Method for the Percentange-Change Approach

Usage

# S3 method for cs_percentage
print(x, ...)

Arguments

x

An object of class cs_percentage

...

Additional arguments

Value

No return value, called for side effects

Examples

cs_results <- claus_2020 |>
  cs_percentage(
    id,
    time,
    bdi,
    pre = 1,
    post = 4,
    pct_improvement = 0.5
  )

cs_results
#> 
#> ── Clinical Significance Results ──
#> 
#> Percentage-change approach with a 50% decrease in instrument scores indicating
#> a clinical significant improvement.
#> 
#> Category     |  n | Percent
#> ---------------------------
#> Improved     | 11 |  27.50%
#> Unchanged    | 29 |  72.50%
#> Deteriorated |  0 |   0.00%