mercredi 18 décembre 2019

IF statement in R many conditions

if (pX08=′0′|px08='D0'and pX06=′0′|pX06='D0') {p$LTD=0 } else {p$LTD=0 } trying to implement if else statement in R return 0 or 1 depending of X08 and X06

Aucun commentaire:

Enregistrer un commentaire