asadoughi / stat-learning

Notes and exercise attempts for "An Introduction to Statistical Learning"
http://asadoughi.github.io/stat-learning
2.13k stars 1.62k forks source link

Ch2 Q8 C #106

Open piyu1189 opened 4 years ago

piyu1189 commented 4 years ago

pairs(college[,1:10]) Error in pairs.default(college[, 1:10]) : non-numeric argument to 'pairs' plot(college$Private, college$Outstate) Error in plot.window(...) : need finite 'xlim' values In addition: Warning messages: 1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion 2: In min(x) : no non-missing arguments to min; returning Inf 3: In max(x) : no non-missing arguments to max; returning -Inf