cs_get_data {clinicalsignificance}R Documentation

Get Data From A cs_analysis Object

Description

Get Data From A cs_analysis Object

Usage

cs_get_data(x, dataset = "data")

Arguments

x

A cs_analysis object.

dataset

The dataset you wish to retrieve. Available options are

  • "original" (the raw original dataset)

  • "wide" (the original dataset in wide format)

  • "data" (the dataset which is used in the calculations). The default is "data"

Value

A tibble

See Also

Extractor functions cs_get_augmented_data(), cs_get_model(), cs_get_n(), cs_get_reliability(), cs_get_summary()

Examples

cs_results <- claus_2020 |>
  cs_anchor(id, time, bdi, mid_improvement = 9, pre = 1, post = 4)

cs_get_data(cs_results)
cs_get_data(cs_results, dataset = "wide")
cs_get_data(cs_results, dataset = "original")

[Package clinicalsignificance version 2.0.0 Index]