Learn R Programming

robCompositions (version 2.4.1)

ageCatWorld: child, middle and eldery population

Description

Percentages of childs, middle generation and eldery population in 195 countries.

Usage

data(ageCatWorld)

Arguments

Format

A data frame with 195 rows and 4 variables

Author

extracted by Karel Hron and Eva Fiserova, implemented by Matthias Templ

Details

  • <15 Percentage of people with age below 15

  • 15-60 Percentage of people with age between 15 and 60

  • 60+ Percentage of people with age above 60

  • country country of origin

The rows sum up to 100.

References

Fiserova, E. and Hron, K. (2012). Statistical Inference in Orthogonal Regression for Three-Part Compositional Data Using a Linear Model with Type-II Constraints. Communications in Statistics - Theory and Methods, 41 (13-14), 2367-2385.

Examples

Run this code

data(ageCatWorld)
str(ageCatWorld)
summary(ageCatWorld)
rowSums(ageCatWorld[, 1:3])
ternaryDiag(ageCatWorld[, 1:3])
plot(pivotCoord(ageCatWorld[, 1:3]))

Run the code above in your browser using DataLab