I am running an endoSwitch code, though, I get the following error message when I run endo <- endoSwitch(data, OutcomeDep, SelectDep, OutcomeCov, SelectCov
endoSwitch
endo <- endoSwitch(data, OutcomeDep, SelectDep, OutcomeCov, SelectCov