НачатьНачать бесплатно

Visualizing two variables

Before you can run any statistical models, it's usually a good idea to visualize your dataset. Here, we'll look at the relationship between house price per area and the number of nearby convenience stores, using the Taiwan real estate dataset.

One challenge in this dataset is that the number of convenience stores contains integer data, causing points to overlap. To solve this, you will make the points transparent.

taiwan_real_estate is available, ggplot2 is loaded, and its black and white theme has been set.

Это упражнение является частью курса

Introduction to Regression in R

Посмотреть курс

Интерактивное практическое упражнение

Попробуйте выполнить это упражнение, дополнив этот пример кода.

# Draw a scatter plot of n_convenience vs. price_twd_msq
___
Редактировать и запускать код