Mismatch in number dimensions

Sorry. I used a different name in the actual work. But the problem remains.

What happens if you do this?:

data_list <- list(M=nrow(data),
                  N=length(unique(data$ID)),
                  id=data$ID,
                  t=data$time,
                  y=data$DV)

Yes! This works. Thank you very much!