Looks like a misplaced right parenthesis. Try
contrast.outcome <-contrast(emmeans.outcome, method =
list("experimental_post1 - control_post1" = c(1, 0, -1, 0),
"experimental_post2 - control_post2" = c(0, 1, 0, -1)), adjust = "bonf")
Pat
On Sat, Jan 9, 2021 at 3:10 AM Laura Coco wrote:
>
> Hell
Hello
I am trying to add a Bonferroni adjustment to two comparisons, and I'm
getting an error msg.
The contrasts run just fine; I used a contrast matrix with dummy
variables: Experimental
vs Control at post1 (first contrast) and Experimental vs Control at post2
(second contrast).
contrast.outcom
2 matches
Mail list logo