R code created to model influencing factors that affect the handling of missing data