tidy_check: Tidy results of posterior checks

tidy_checkR Documentation

Tidy results of posterior checks

Description

This is a little utility function for bringing the results of imi_check and mi_check into a tidy data-frame form.

Usage

tidy_check(x)

Arguments

x

result of imi_check or mi_check

Value

data frame with columns corresponding to the checking unit (word or topic), the discrepancy (IMI or MI), the rescaled discrepancy (deviance), and an indicator, type, of whether the value is simulated or actual

See Also

mi_check, imi_check


agoldst/dfrtopics documentation built on July 15, 2022, 4:13 p.m.