Learn R Programming

popstudy (version 1.0.2)

Myers: Myer's Blended Index

Description

An upgrade over the Whipple index allows analyzing digit's attraction (or repulsion) from 0 to 9.

Usage

Myers(data, ...)

Value

Myers returns a list with two objects:

Mmat

a data.frame with specific digits index

MI

the Myer's Blend Index.

Arguments

data

data.drame. It contains at least two variables: specific ages and population.

...

Arguments to be passed to dplyr::select, i.e., age and population, respectively.

Author

Cesar Gamboa-Sanabria

References

Shryockpopstudy

Examples

Run this code

results <- Myers(Panama1990, age, pop)
results$Mmat
results$MI

Run the code above in your browser using DataLab