cs_get_cutoff {clinicalsignificance}R Documentation

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)

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.

Value

A tibble with cutoff information

Examples

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)

[Package clinicalsignificance version 2.0.0 Index]