R Programming language - R Dataset

R programming language comes with many built-in datasets which can be used for practicing and learning data analysis. These datasets can be loaded into R and manipulated using various functions and techniques available in R.

Here are some of the built-in datasets in R:

  1. iris: This dataset contains measurements of iris flowers. It includes four features: sepal length, sepal width, petal length, and petal width, along with the species of the iris.

  2. mtcars: This dataset contains information on various car models, including the number of cylinders, horsepower, and miles per gallon (MPG).

  3. AirPassengers: This dataset contains the monthly total number of airline passengers from 1949 to 1960.

  4. Titanic: This dataset contains information on the passengers of the Titanic, including their age, gender, passenger class, and survival status.

  5. ChickWeight: This dataset contains information on the weight of chickens at various ages and under different diet conditions.

  6. diamonds: This dataset contains information on the prices and attributes of over 50,000 diamonds.

  7. CO2: This dataset contains measurements of carbon dioxide uptake in grass plants under different environmental conditions.

  8. PlantGrowth: This dataset contains the results of an experiment on the growth of plants under different conditions.

To load a dataset in R, you can use the data() function. For example, to load the iris dataset, you can use the following command:

re‮i:ot ref‬giftidea.com
data(iris)

This will load the iris dataset into memory, and you can start working with it using various R functions and techniques.