r error: "Error in mkRespMod(fr, REML = REMLpass) : response must be numeric"

150 Views Asked by At

I am new to R and trying to use the psych package to run an ICC to compute emotion differentiation. I am getting the following error:

Error in mkRespMod(fr, REML = REMLpass) : response must be numeric

Here is the code:

library(tidyverse)
library(irr)
library(psych)

data_newICC <- data %>%
  psych::ICC(data[list_NE_image], missing = TRUE, lmer = TRUE)

The values in the list_NE_image list are all numeric, so unclear where the error is coming from/what is if referring to!

0

There are 0 best solutions below