'Predict values in place of NA by using the original data frame?

I have a dataset and the row which I need has an NA value.

If I use na.omit, the rows will be omitted; however, I need the row. Hence I need to predict a value in place of the NA.

How do I proceed?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source