@pagal_guy wrote:
hello,
I am trying to use the knnImpute function to replace missing values in Age for the Titanic problem in R.
library(imputation) kNNImpute(combi$Age, 3)
However this is giving me an error:
From the examples that I saw online it seems that the values are imputed for all the columns which have missing values,but how do I use this to replace missing values in only 1 particular column.
Can someone please help me with this??
Posts: 1
Participants: 1