Errors in script twinAceOrd.R