anchor_results <- claus_2020 |>
cs_anchor(
id,
time,
bdi,
pre = 1,
post = 4,
mid_improvement = 8
)
cs_get_summary(anchor_results)
# Get summary table for a group level analysis
anchor_results_grouped <- claus_2020 |>
cs_anchor(
id,
time,
bdi,
pre = 1,
post = 4,
mid_improvement = 8,
target = "group"
)
cs_get_summary(anchor_results_grouped)
# Get group-wise summary table for the Hageman & Arrindell method
combined_results <- claus_2020 |>
cs_combined(
id,
time,
bdi,
pre = 1,
post = 4,
m_functional = 8,
sd_functional = 8,
reliability = 0.80,
rci_method = "HA"
)
cs_get_summary(combined_results)
cs_get_summary(combined_results, which = "group")
Run the code above in your browser using DataLab