canlab/MediationToolbox

can not found function nanremove()

Hailu-UCAS opened this issue · 3 comments

when i am trying to run the example code, error occurred that
'Undefined function or variable 'nanremove'.
Error in mediation (line 270)
[nanvec, x, y, m, mediation_covariates] = nanremove(x, y, m, mediation_covariates);'