cs_get_data function

Get Data From A cs_analysis Object

Get Data From A cs_analysis Object

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"

Returns

A tibble

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")

See Also

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