A Complete Guide to the Boston Dataset in R
- R-PROGRAMMING
Boston dataset from MASS package in R is widely used in statistics and machine-learning. It contains information about housing price in various suburbs in Boston, Massachusetts.
This article explains how to load,summarize and visualize Boston dataset.
Load the Boston Dataset Before working on Boston dataset, we need to load the MASS package:
# Load library to import dataset library(MASS) Now we can use head() function to get the first six rows from dataset: