equatiomatic | Convert models to LaTeX equations | Natural Language Processing library
kandi X-RAY | equatiomatic Summary
kandi X-RAY | equatiomatic Summary
The goal of equatiomatic is to reduce the pain associated with writing LaTeX code from a fitted model. In the future, the package aims to support any model supported by broom. See the introduction to equatiomatic for currently supported models.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of equatiomatic
equatiomatic Key Features
equatiomatic Examples and Code Snippets
Community Discussions
Trending Discussions on equatiomatic
QUESTION
I am trying the equatiomatic package to plot my lmer model.
...ANSWER
Answered 2021-Jun-14 at 20:36I'm the developer of that package. It should work with lme4::lmer()
equations. The issue here is with dropping the intercept but having it vary randomly at higher levels. See this issue for more details.
If you have suggestions for how you would expect the equation to render, I'm open to working out a fix. But for now, equatiomatic::extract_eq()
assumes that whatever random effects you have also have corresponding fixed effects.
QUESTION
I want to display a latex equation in a shiny application. I saw an example where mathjax is used to display latex equations. But for some reason the equation generated from equatiomatic
package does not display correctly. Following is a reproducible example:
ANSWER
Answered 2021-Mar-29 at 05:36Interesting, it seems like shiny is expecting the equation as raw character string. Hence it is missing a \
for all Latex operators.
One (not very pretty) way to fix it would be:
QUESTION
The following code provides the Regression Model Equation to be used in knitr
.
ANSWER
Answered 2021-Feb-01 at 13:06In the latest version of equatiomatic
(0.2.0.9000), the function extract_eq
along with use_coefs = TRUE
argument gives the desired output.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install equatiomatic
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page