The dataset name has been changed to 'USPersonalExpenditure_matrix' to avoid confusion with other packages in the R ecosystem. This naming convention helps distinguish this dataset as part of the 'usdatasets' package and identifies it as a matrix. The original content of the dataset has not been modified.
Usage
data(USPersonalExpenditure_matrix)
Format
A matrix with 5 rows and 5 columns representing U.S. personal expenditures in different categories over selected years:
- Food and Tobacco
Numeric values representing expenditures on food and tobacco for the years 1940, 1945, 1950, 1955, and 1960.
- Household Operation
Numeric values representing expenditures on household operations for the years 1940, 1945, 1950, 1955, and 1960.
- Medical and Health
Numeric values representing expenditures on medical and health services for the years 1940, 1945, 1950, 1955, and 1960.
- Personal Care
Numeric values representing expenditures on personal care for the years 1940, 1945, 1950, 1955, and 1960.
- Private Education
Numeric values representing expenditures on private education for the years 1940, 1945, 1950, 1955, and 1960.