mbsohn / cmmb

Sparse compositional mediation model for binary outcomes
2 stars 1 forks source link

Error in matrix(0, nrow = n.rc, ncol = n.rc) #2

Open hyuan12138 opened 1 year ago

hyuan12138 commented 1 year ago

Hello Dr. Sohn,

I am currently using your CMMB package to run a mediation analysis but I keep getting the error

Error in matrix(0, nrow = n.rc, ncol = n.rc) : invalid 'nrow' value (too large or NA)

I make sure there is no NA in our dataset and the input microbiome data has 181 samples. I reduce the sample size to 50 and still get the same error. I wonder if you could help to fix this?

Thanks in advance!