Learn R Programming

popstudy (version 1.0.0)

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, ...)

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.

Value

Myers returns a list with two objects:

Mmat

a data.frame with specific digits index

MI

the Myer's Blend Index.

References

Shryockpopstudy

Examples

Run this code
# NOT RUN {
results <- Myers(Panama1990, age, pop)
results$Mmat
results$MI

# }

Run the code above in your browser using DataLab