R Dataset / Package datasets / airmiles

On this R-data statistics page, you will find information about the airmiles data set which pertains to Passenger Miles on Commercial US Airlines, 1937–1960. The airmiles data set is found in the datasets R package. You can load the airmiles data set in R by issuing the following command at the console data("airmiles"). This will load the data into a variable called airmiles. If R says the airmiles data set is not found, you can try installing the package by issuing this command install.packages("datasets") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the airmiles R data set. The size of this file is about 265 bytes.

Passenger Miles on Commercial US Airlines, 1937–1960

Description

The revenue passenger miles flown by commercial airlines in the United States for each year from 1937 to 1960.

Usage

airmiles

Format

A time series of 24 observations; yearly, 1937–1960.

Source

F.A.A. Statistical Handbook of Aviation.

References

Brown, R. G. (1963) Smoothing, Forecasting and Prediction of Discrete Time Series. Prentice-Hall.

Examples

require(graphics)
plot(airmiles, main = "airmiles data",
 xlab = "Passenger-miles flown by U.S. commercial airlines", col = 4)

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-datasets-airmiles.html" width="100%" height="100%" style="border:0px"></iframe>