get_formula: Get formula from a frequentist or Bayesian object.

View source: R/results.r

get_formulaR Documentation

Get formula from a frequentist or Bayesian object.

Description

This function selects the formula from a model object produced by 'analyze'. This function also works on model objects produced by 'rstanarm', e.g., from a run of 'stan_glm'.

Usage

get_formula(object, terms = T)

Arguments

object

The model object.

terms

Return the formula or the terms(formula). Defaults to returning terms.

Value

The formula used in the model.

See Also

Other internal functions: get_coef(), get_data(), get_draws(), get_link(), get_vcov(), results_coefficients(), results_contrasts(), results_predictions(), structure_predictions()


jacobaro/danalyze documentation built on Oct. 20, 2022, 8:09 a.m.