cs_get_model {clinicalsignificance}R Documentation

Get The HLM Model From A cs_analysis Object

Description

With cs_get_model() you can extract the fitted HLM model for the distribution-based approach. This is useful to either diagnose the model further (beacuse all assumptions of HLMs apply in this case) or plot the results differently.

Usage

cs_get_model(x)

Arguments

x

A cs_analysis object

Value

A model of class lmerMod

See Also

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

Examples

cs_results <- claus_2020 |>
  cs_distribution(id, time, bdi, rci_method = "HLM")

cs_get_model(cs_results)

[Package clinicalsignificance version 2.0.0 Index]