Checked and tested Function to impute missing data; lattice panel plot to answer final question done