It is mandatory to have knowledge about freely-available datasets in R, which are built in and can be used as and when needed.
To have a look at the built-in datasets, all you need to do is execute the following command and call the required dataset:
> library(datasets)
You can call the required dataset and have a look at its description. Rstudio is considered to have the best feature for showing descriptions of datasets, as follows:
The popular datasets that are available in R are mentioned as follows, with descriptions and dimensions:
Dataset |
Description |
Rows |
Columns |
airquality |
This includes New York air quality measurements. |
153 |
6 |
anscombe |
This consists of Anscombe's quartet of identical simple linear regressions. |
11 |
8 |
attenu |
This dataset is all about the Joyner-Boore attenuation data. |
182 |
5 |
attitude |
This... |