I figured I should follow-up to say the function is not broken, rather
it was me not paying close attention to recent release notes.
Frank Harrell kindly informed me (thanks Frank) that with recent
versions of Hmisc/rms I should use options(prType="latex") for LaTeX
output to behave
In recent versions of rms on CRAN there was a non-downward compatible
change. To get latex output for summary, anova, and print on fit objects
you leave off file="" (because we're usually using knitr anyway) and use
options(prType='latex')
anova(f) # LaTeX output
You can use
I am re-running some logistic regression analyses using lrm from the rms
package but latex(anova(...)) appears to be broken on my system.
Here is some anova() output followed by the latex() error for two models
since the error changes. My sessionInfo() follows the other output. I
have updated
3 matches
Mail list logo