Generation

generate functionSat, 29 Apr 2023

> posthoc <- glht(anova_result, linfct = mcp(Condition_SNB = "Tukey")) > summary(posthoc) Using R, please write me a code to create a table of these results to be copied and pasted in LateX

my.data <- data.frame(means, sd, se) colnames(my.data) <- c("condition", "mean", "sd", "se") #means, sd, se are vectors of the appropriate length with the respective values kable(my.data, caption = "Reaction times", booktabs = T)

Questions about programming?Chat with your personal AI assistant