Realised I didn't need the checkMissingValues function on the scatterplot, so removed it