You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data('ToothGrowth')
dat <- ToothGrowth
dat$dose <- factor(dat$dose)
results<-jmv::anovaOneW(formula = len ~ dose, data = dat,
welchs = TRUE, fishers =TRUE)
When I run: results$anova
The table printed in the console is really what I want.
But when get the dataframe using: results$anova$asDF
the table stucture is not what I want, and it is not publication-ready.
So how can I transform the results$anova table to a data frame, and keep the table structure?
Because we need the table to be inserted into word document, or into a rmarkdown rather than get the text in console.
The text was updated successfully, but these errors were encountered:
My code:
When I run:
results$anova
The table printed in the console is really what I want.
But when get the dataframe using:
results$anova$asDF
the table stucture is not what I want, and it is not publication-ready.
So how can I transform the
results$anova
table to a data frame, and keep the table structure?Because we need the table to be inserted into word document, or into a rmarkdown rather than get the text in console.
The text was updated successfully, but these errors were encountered: