Create the full equation
# S3 method for default
create_eq(
lhs,
rhs,
ital_vars,
use_coefs,
coef_digits,
fix_signs,
model,
intercept,
greek,
raw_tex
)
A character string of the left-hand side variable extracted with
extract_lhs
A data frame of right-hand side variables extracted with
extract_rhs
.
Logical, defaults to FALSE
. Should the variable names
not be wrapped in the \operatorname{}
command?
Logical, defaults to FALSE
. Should the actual model
estimates be included in the equation instead of math symbols?
Integer, defaults to 2. The number of decimal places to round to when displaying model estimates.
Logical, defaults to FALSE
. If disabled,
coefficient estimates that are negative are preceded with a "+" (e.g.
5(x) + -3(z)
). If enabled, the "+ -" is replaced with a "-" (e.g.
5(x) - 3(z)
).
A fitted model
How should the intercept be displayed? Default is "alpha"
,
but can also accept "beta"
, in which case the it will be displayed
as beta zero.
What notation should be used for
coefficients? Currently only accepts "beta"
(with plans for future
development). Can be used in combination with raw_tex
to use any
notation, e.g., "\hat{\beta}"
.
Logical. Is the greek code being passed to denote coefficients raw tex code?