I have used the following code for KNN jd <- jobdata head (jd) jd$ipermanency rate= as.integer(as.factor(jd$ipermanency rate)) jd$`permanency rate
drag
banner
mongodb
mpi-io
weblogic14c
lemp
google-query-language
angularjs-ng-model
usability-testing
openprocess
docsplit
protoreflect
backups
jca
sni
swt
code-completion
unified-memory
date-sunrise
bootstrap-rtl
sap-cap
ms-access-2003
swtchart
app-inventor
dpkg-buildpackage
autotools
apache-beam
apostrophe
hashrocket
sap-web-ide