what type of variable is categorical? why does knn model categorical variable what is knn in statistics can categorical variables be dummy can knn dummy variables be used in regression knn vs categorical how to set categorical variables for regression can you run r model with categorical variables can knn model categorical variables can knn train a dummy regression what is r knn used for what is the use of knn for regression in dummies how to train knn in statistics what kind of model do you use for regression how to run regression with categorical variables what is the knn what is knn used for in regression what is knn used for in statistics what kind of variables can be used in knn in statistics when can a categorical variable be used in r