| rmd.anova.table | R Documentation |
This function formats the table generated by anova for R markdown knitting.
rmd.anova.table(m1, m2 = NULL, digits = 3, ...)
m1 |
A model |
m2 |
An optional second model. If provided, then the first model should be a null. |
digits |
The number of significant digits to report in the table.
Note that this argument differs from the |
Other arguments are passed to knitr::kable.
Dave Angelini david.r.angelini@gmail.com [aut, cre]
data("mantis", package = "borealis")
x <- align.angle(mantis,
art.pt = 11,
angle.pts.1 = 1:10,
angle.pts.2 = 12:15,
rot.pts = 12:16,
show.plot = FALSE)
mantis.gpa <- align.procrustes(x, show.plot.gpa = FALSE)
mantis.gpa <- listed.gdf(mantis.gpa)
mantis.cs.model <- procD.lm(coords ~ log10(Csize), data = mantis.gpa$gdf, print.progress = FALSE)
mantis.model <- procD.lm(coords ~ log10(Csize) + sex, data = mantis.gpa$gdf, print.progress = FALSE)
rmd.anova.table(mantis.model)
rmd.anova.table(mantis.cs.model, mantis.model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.