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
sprite-kit
hungarian-notation
local-database
jboss-cli
cartalyst
gitg
slimv
form-for
balance
kakoune
freshdesk
conda-build
monte-carlo-tree-search
gpu.js
jsonlogic
compiler-errors
pivot-xml
rx-java3
openbugs
shader
pubnub
wakelock
convertfrom-json
ordinal-indicator
composite-literals
carrier
codemirror
rapid-prototyping
application-monitoring
polynomial-approximations