modelsummary (version 0.1.0)

statistic_override_lmtest: Use the lmtest::coeftest function to extract uncertainty estimates

Description

Use the lmtest::coeftest function to extract uncertainty estimates

Usage

statistic_override_lmtest(model, statistic_override)

Arguments

model

object type with an available `tidy` method.

statistic_override

manually override the uncertainy estimates. This argument accepts three types of input:

  • a function or list of functions of length(models) which produce variance-covariance matrices with row and column names equal to the names of your coefficient estimates. For example, `R` supplies the `vcov` function, and the `sandwich` package supplies `vcovHC`, `vcovHAC`, etc.

  • a list of length(models) variance-covariance matrices with row and column names equal to the names of your coefficient estimates.

  • a list of length(models) numeric vectors with names equal to the names of your coefficient estimates.

Value

tibble