get_estimates: Get estimates from a model object

View source: R/get_estimates.R

get_estimatesR Documentation

Get estimates from a model object

Description

Get estimates from a model object. This convenience function allows you to see that coefficients are properly extracted, note how their names will be parsed, and inspect their values.

Usage

get_estimates(x, ...)

Arguments

x

A model object.

...

Parameters passed to and from other functions.

Value

An object of class 'model_estimates'

Examples

## Not run: 
# Example 1
m_tt <- t.test(iris$Sepal.Length[1:20], iris$Sepal.Length[21:40])
get_estimates(m_tt)
# Example 2
m_lm <- lm(Sepal.Length ~., iris)
get_estimates(m_lm)

## End(Not run)

bain documentation built on Sept. 27, 2023, 5:06 p.m.