asadoughi/stat-learning

Suggestion for Chapter 2 question 8,c,iii

Closed this issue · 0 comments

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)