A modified version of
EMICMmac in package
Icens to avoid the error when calling function
EMICM when specifying ICMstep = FALSE. The error is caused by changing the type of an undeclared vector
It is used in
ModifiedEMICM and not to be called by the user.
Qiang Zhao and Jianguo Sun