Returns the concentration-parameter summary as a broom-style
data.frame, one row per simplex component, with the canonical columns.
Usage
# S3 method for class 'fb_dirichlet_fit'
tidy(x, ...)Arguments
- x
An
fb_dirichlet_fitobject fromfb_dirichlet().- ...
Currently unused. Present for generic compatibility.
Examples
set.seed(1)
fit <- flexyBayes:::fb_dirichlet(flexyBayes:::rdirichlet(300L, c(2, 5, 3)))
tidy(fit)
#> term estimate std.error conf.low conf.high
#> c1 c1 1.886471 0.1117041 1.667535 2.105407
#> c2 c2 4.673664 0.2811266 4.122666 5.224662
#> c3 c3 2.792916 0.1667429 2.466106 3.119727