Convert to `ei_tbl` objects
Arguments
- x
an object to be coerced
- ei.object
list-based ei object to convert to tibble-based object
Examples
data(sample_ei)
form <- t ~ x
dbuf <- ei(form, total = "n", data = sample_ei)
#> ℹ Running 2x2 ei
#> ℹ Maximizing likelihood for `erho` = 0.5.
#> ℹ Running 2x2 ei
#> ℹ Maximizing likelihood for `erho` = 3.
#> ℹ Running 2x2 ei
#> ℹ Maximizing likelihood for `erho` = 5.
#> ℹ Running 2x2 ei
#> ℹ Maximizing likelihood for `erho` = 0.1.
#> ℹ Running 2x2 ei
#> ✔ Running 2x2 ei [2ms]
#>
#> ⠙ Beginning importance sampling.
#> ✔ Beginning importance sampling. [2.3s]
#>
dbuf <- ei_as_ei_tbl(dbuf)