Hi Jonathan,
I'm having a similar issue too, but not with the CSS format exactly - I'm trying to get the tables into an R Markdown document but just using kable, but I'm having a lot of trouble getting them to look any good. At first I was flummoxed by the active object binding, but now I've worked out I can do e.g.
Code: Select all
pupilResults <- jmv::anovaRM(
data = PupilDilation,
rm = list(
list(
label="Task",
levels=c("WM", "ATT"))),
rmCells = list(
list(
measure="wm_Allexp",
cell="WM"),
list(
measure="att_allexp",
cell="ATT")),
bs = exp,
rmTerms = ~ Task,
bsTerms = ~ exp)
and then, e.g.,
Code: Select all
knitr::kable(pupilResults$rmTable$asDF)
But this looks, quite frankly, awful without a great degree of fiddling and renaming.
Is there a better way of doing this? I am hoping for a nice way to introduce my students to RMarkdown, but at the moment this isn't really cutting it.
Thanks!
Deborah.