udellgroup / gcimputeR

Missing value imputation using Gaussian copula
8 stars 0 forks source link

example_sim.R #3

Open Liyongyin opened 1 year ago

Liyongyin commented 1 year ago

Hi, this is my error (file: example_sim.R) :

norm(fit$R - Sigma, type = 'F')/norm(fit$R, type = 'F') Error in norm(fit$R - Sigma, type = "F") : 'A' must be a numeric matrix What's the problem? Could you help me?

yuxuanzhao2295 commented 1 year ago

Thanks for raising the bug and sorry for my late response. The bug should disappear after replacing fit$R with fit$para$corr. The script has been fixed now.