Skip to contents

Tidy an ipd fit

Usage

# S3 method for class 'ipd'
tidy(x, ...)

Arguments

x

An object of class ipd.

...

Ignored.

Value

A tibble with columns term, estimate, std.error, conf.low, conf.high.

Examples


dat <- simdat()

fit <- ipd(Y - f ~ X1, method = "pspa", model = "ols",

    data = dat, label = "set_label")

tidy(fit)
#> # A tibble: 2 × 5
#>   term        estimate std.error conf.low conf.high
#>   <chr>          <dbl>     <dbl>    <dbl>     <dbl>
#> 1 (Intercept)    0.798    0.0997    0.602     0.993
#> 2 X1             0.822    0.0869    0.651     0.992