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
browsefragment
pcregrep
solr-boost
p2
array-intersect
agroal
multidatatrigger
afx
no-database
scom
offline-caching
tasklist
memberof
hardening
semi-join
tobago
constructable-stylesheet
applitools
aws-glue-workflow
code-security
reed-solomon
cue-points
mixed-code
local-web-server
mutual-information
sublimelinter
shipping
istio-sidecar
ms-publisher
azure-pipelines-build-task