Apologies if this is an obvious question - I am quite new to R. I am receiving an error when using the NetworkComparisonTest to test the network structure between time points. I am working with a longitudinal dataset with N = 1048 with a 0-3 Likert measure. I haven't had luck searching online. Any advice would be much appreciated. Example below:
s1k_cor <- estimateNetwork(s1k, default = "EBICglasso")
s1g1_cor <- estimateNetwork(s1g1, default = "EBICglasso")
NCTk1 <- NCT(s1k_cor, s1g1_cor, it = 1000)
Error in eigen(corMat) : infinite or missing values in 'x'