Learn R Programming

clinicalsignificance (version 2.0.0)

cs_get_cutoff: Get Used Cutoff And Type From A cs_analysis Object

Description

Get Used Cutoff And Type From A cs_analysis Object

Usage

cs_get_cutoff(x, with_descriptives = FALSE)

Value

A tibble with cutoff information

Arguments

x

A cs_analysis object

with_descriptives

Logical indicating whether you want to retrieve only the cutoff type and value or the summary statistics on which it is based on. The default is FALSE.

Examples

Run this code
cs_results <- claus_2020 |>
  cs_statistical(
    id,
    time,
    bdi,
    pre = 1,
    post = 4,
    m_functional = 8,
    sd_functional = 8,
    cutoff_type = "c"
  )

cs_get_cutoff(cs_results)
cs_get_cutoff(cs_results, with_descriptives = TRUE)

Run the code above in your browser using DataLab