Closed ytwlu181 closed 3 years ago
With R version 4.0.2, it seems I must perform a factor() to categorize the "char" column of "Private". Thus, the solution would become plot(as.factor(college$Private), college$Outstate)
With R version 4.0.2, it seems I must perform a factor() to categorize the "char" column of "Private". Thus, the solution would become plot(as.factor(college$Private), college$Outstate)