get_estimates: Get estimates from a model object

Description Usage Arguments Value Examples

View source: R/get_estimates.R

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

1

Arguments

x

A model object.

...

Parameters passed to and from other functions.

Value

An object of class 'model_estimates'

Examples

1
2
3
4
5
6
7
8
9
## 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 Nov. 27, 2021, 1:06 a.m.