R: Get estimates from a model object

get_estimates {bain} | R 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)

[Package bain version 0.2.7 Index]