broom: broom's methods

broomR Documentation

broom's methods

Description

Methods to compute extract in a tidy way the elements of a fitted model

Usage

## S3 method for class 'tobit1'
tidy(x, conf.int = FALSE, conf.level = 0.95, ...)

## S3 method for class 'tobit1'
glance(x, ...)

Arguments

x

a model fitted with mhurdle

conf.int, conf.level

current see generics::tidy (currently unused)

...

further arguments, currently unused

Details

mhurdle exports the generics::tidy and generics::glance functions. The specific method provided for mhurdle objects enables the use of some package that relies on these functions (modelsummary for example)

Value

tidy returns a data frame containing the estimates, their standard errors, the Student statistic and the p-value. glance returns a one line data frame containg goodness of fit measures.


tobit1 documentation built on March 18, 2022, 7:31 p.m.