jmbh / mnet

Moderation and Mixture Analyses for Networks
0 stars 0 forks source link

Error in { : task 28 failed - "non-conformable arrays" #1

Open Ernest861 opened 1 month ago

Ernest861 commented 1 month ago

System: Macbook M2Max 96GB R: 4.4.1 mnet: 0.14 data: data.table all vars are num

` zVars <- c("WeChat", "XiaoHongShu", "HonorofKings","PUBG", "Douyin", "Taobao","PDD", "Desktop", "Novel", "Education")

zData_summary2 str(zData_summary2) Classes ‘data.table’ and 'data.frame': 9669 obs. of 14 variables: $ id : num 5 5 5 5 5 5 5 5 5 5 ... $ hou : num 0 0 0 0 1 1 1 5 5 6 ... $ quarter : num 0 1 2 3 0 1 2 2 3 0 ... $ group : num 1 1 1 1 1 1 1 1 1 1 ... $ WeChat : num 0.1 0 0 0 0 ... $ XiaoHongShu : num 0 0 0 0 0 0 0 0 0 0 ... $ HonorofKings: num 0 0 0 0 0 0 0 0 0 0 ... $ PUBG : num 0 0 0 0 0 0 0 0 0 0 ... $ Douyin : num 0 0 0 0 0 0 0 0 0 0 ... $ Taobao : num 0 0 0 0 0 0 0 0 0 0 ... $ PDD : num 0 0 0 0 0 0 0 0 0 0 ... $ Desktop : num 1 1 1 1 1 1 1 1 1 1 ... $ Novel : num 0 0 0 0 0 0 0 0 0 0 ... $ Education : num 0 0 0 0 0 0 0 0 0 0 ...

output <- mlVAR_GC(data = zData_summary2,

jmbh commented 1 month ago

Thanks for reporting this. Any chance you could provide a reproducible example of this?

Ernest861 commented 1 month ago

Hi Jonas, Thanks for your replay and package. I attached my code and data. zTestMLVARGC.zip