Skip to contents

Convert to `ei_tbl` objects

Usage

as_ei_tbl(x)

ei_as_ei_tbl(ei.object)

Arguments

x

an object to be coerced

ei.object

list-based ei object to convert to tibble-based object

Value

ei_tbl 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)