Learn R Programming

robCompositions (version 2.4.1)

socExp: social expenditures

Description

Social expenditures according to source (public or private) and three important branches (health, old age, incapacity related) in selected OECD countries in 2010. Expenditures are always provided in the respective currency.

Usage

data(socExp)

Arguments

Format

A data frame with 20 observations on the following 8 variables (country + currency + row-wise sorted cells of 2x3 compositional table).

Author

conversion to R by Karel Hron Karel Hron and modifications by Matthias Templ matthias.templ@tuwien.ac.at

Details

  • country Country of origin

  • currency Currency unit (in Million)

  • health-public Health from the public

  • old-public Old age expenditures from the public

  • incap-public Incapacity related expenditures from the public

  • health-private Health from private sources

  • old-private Old age expenditures from private sources

  • incap-private Incapacity related expenditures from private sources

References

OECD

Examples

Run this code

data(socExp)
str(socExp)
rowSums(socExp[, 3:ncol(socExp)])

Run the code above in your browser using DataLab