Code: Select all
jmv::anovaRM(data = disgData,
rm = list(list(label="disgustType", levels=c("moral","sexual","pathogen"))),
rmCells = list(list(measure="moralDisgust",cell="moral"),
list(measure="sexualDisgust",cell="sexual"),
list(measure="pathogenDisgust",cell="pathogen")),
bs = vars(instructions, gender),
rmTerms = ~ disgustType,
bsTerms = ~ instructions + gender + instructions:gender)
The analysis runs without an error if I leave out the interaction term:
Code: Select all
jmv::anovaRM(data = disgData,
rm = list(list(label="disgustType", levels=c("moral","sexual","pathogen"))),
rmCells = list(list(measure="moralDisgust",cell="moral"),
list(measure="sexualDisgust",cell="sexual"),
list(measure="pathogenDisgust",cell="pathogen")),
bs = vars(instructions, gender),
rmTerms = ~ disgustType,
bsTerms = ~ instructions + gender)
I am using R version 4.2.2, R Studio version 2022.07.2 Build 576, and JAMOVI version 2.3.18.0. I did a fresh install of all three and the jmv package to confirm the error.
I've attached a copy of the dataset (from Lee, Ambler, & Sagarin, 2014, Archives of Sexual Behavior, Volume 43, pages 1115-1121). I loaded the dataset using:
Code: Select all
disgData <- read.csv("Disgust data.csv")
- Brad