1. 学习
  2. /
  3. 课程
  4. /
  5. Intermediate Regression in R

Connected

练习

3D visualizations

Since computer screens and paper are both two-dimensional objects, most plots are best suited to visualizing two variables at once. For the case of three continuous variables, you can draw a 3D scatter plot, but perspective problems usually make it difficult to interpret. There are some "flat" alternatives that provide easier interpretation, though they require a little thinking about to make.

taiwan_real_estate is available; magrittr, plot3D and ggplot2 are loaded.

说明 1 / 共 2 个

undefined XP
    1
    2
  • With the taiwan_real_estate dataset, draw a 3D scatter plot of the number of nearby convenience stores on the x-axis, the square-root of the distance to the nearest MRT stop on the y-axis, and the house price on the z-axis.