am working on a dataset that contains several missing values. I have used a linear mixed model and I predicted BLUE Values and then I wanted to make a column and inserted these values in their corresponding location but there is an error which mentioned
“Error in `$<-.data.frame`(`*tmp*`, Predicted_BLUE, value = c(0.0162056671626986, : replacement has 49 rows, data has 65”
and this is due to that I have 16 missing values in my dataset(out of 65). Any idea how to overcome this problem? without eliminating the missing values from the model?