R Dataset / Package datasets / USPersonalExpenditure

On this R-data statistics page, you will find information about the USPersonalExpenditure data set which pertains to Personal Expenditure Data. The USPersonalExpenditure data set is found in the datasets R package. You can load the USPersonalExpenditure data set in R by issuing the following command at the console data("USPersonalExpenditure"). This will load the data into a variable called USPersonalExpenditure. If R says the USPersonalExpenditure 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 USPersonalExpenditure R data set. The size of this file is about 242 bytes.

Personal Expenditure Data

Description

This data set consists of United States personal expenditures (in billions of dollars) in the categories; food and tobacco, household operation, medical and health, personal care, and private education for the years 1940, 1945, 1950, 1955 and 1960.

Usage

USPersonalExpenditure

Format

A matrix with 5 rows and 5 columns.

Source

The World Almanac and Book of Facts, 1962, page 756.

References

Tukey, J. W. (1977) Exploratory Data Analysis. Addison-Wesley.

McNeil, D. R. (1977) Interactive Data Analysis. Wiley.

Examples

require(stats) # for medpolish
USPersonalExpenditure
medpolish(log10(USPersonalExpenditure))

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

Attachments: csv, json

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