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!