extract_eq()
are now properly documented in the extract_eq()
help page.add_greek.forecast_ARIMA
and add_coefs.forecast_ARIMA
(first argument side=
is renamed rhs=
).for census_division l = 1
is now rendered as for census\_division l = 1
).se_subscripts
argument, which allows the standard error for each coefficient to be included in parentheses below the coefficient when se_subscripts = TRUE
. This is supported for lm
and glm
models.renderEq()
and eqOutput()
functions for working with equatiomatic with shiny.greek_colors
, subscript_colors
, var_colors
and var_subscript_colors
arguments.swap_var_names
and swap_subscript_names
arguments to change the names of the variables or subscripts in the rendered equationlme4::glmer()
models.return_variances
argument, which allows users to optionally return the variance/covariances in lme4::lmer()
and lme4::glmer()
modelsfont_size
argument, which takes any LaTeX font size (see here)label
argument, which allows for cross-referencing equation in-text with PDF outputs.poly()
, log()
, and exp()
functions for in-line equations, and will drop the I()
for generic in-line equation operationlme4::lmer()
and and lme4::glmer()
modelslme4::lmer()
modelslme4::lmer()
models now allow for in-line alterations to the code, e.g., I(n >5)
.New models: This is the first version to support lme4::lmer()
models and forecast::Arima()
models.
New vignettes for each of the new models supported.
New vignette showing how to use the package with plotting
Switched the testing framework to use snapshot testing
Uses new print method so users no longer have to specify results = "asis"
in the R Markdown chunk option
Fixed error in rendering logistic/probit regression equations by removing the epsilon (error term) at the end of the left-hand side
The epsilon (error term) is no longer shown when rendering the fitted model equation, i.e. use_coefs = TRUE
, for lm
models. The hat sign is also added to the response variable.
Initial CRAN Release
Extracts equations for lm
models
Extracts equations for glm
models with family = binomial(link = "logit")
or family = binomial(link = "probit")
Extracts equations form ordered regression models using MASS::polr
or ordered::clm
for logit and probit link functions
glm
models have an optional show_distribution
argument to show the distributional assumptions
All equations can be displayed using Greek notation or the estimated coefficients
The raw_tex
code can be used to supply custom TeX code for the intercept or the coefficients, through the intercept
and greek
arguments respectively
Long equations can be wrapped to multiple lines with the optional wrap
argument. The length of the wrapping is controlled by terms_per_line
.
Added a NEWS.md
file to track subsequent changes to the package.