segplot: plot the age-pattern of coverage estimates

Description Usage Arguments Details Value Examples

View source: R/bh.R

Description

the SEG method works by averaging the coverage estimates over a range of ages. Users may wish to see the age pattern for diagnostic purposes.

Usage

1
2
segplot(X, minA = 15, maxA = 75, minAges = 8, exact.ages = NULL,
  eOpen = NULL, deaths.summed = FALSE, log = FALSE)

Arguments

X

data.frame with columns, $pop1, $pop2, $deaths, $date1, $date2, $age, $sex, and $cod (if there are more than 1 region/sex/intercensal period).

minA

the lowest age to be included in search

maxA

the highest age to be included in search (the lower bound thereof)

minAges

the minimum number of adjacent ages to be used in estimating

exact.ages

optional. A user-specified vector of exact ages to use for coverage estimation

eOpen

optional. A user-specified value for remaining life-expectancy in the open age group.

deaths.summed

logical. is the deaths column given as the total per age in the intercensal period (TRUE). By default we assume FALSE, i.e. that the average annual was given.

log

logical. should we log the y axis?

Details

All arguments are essentially the same as those given to seg()

Value

Function called for its graphical side effects

Examples

1
2
3
4
## Not run: 
segplot(Moz)

## End(Not run)

DDM documentation built on May 2, 2019, 6:16 a.m.

Related to segplot in DDM...