slopeint {DDM}R Documentation

get the slope the slope and intercept implied by a set of ages

Description

Called by ggbFittedFromAges() and ggbChooseAges()

Usage

slopeint(codi, agesfit, deaths.summed = FALSE)

Arguments

codi

data.frame as produced by ggbMakeColumns()

agesfit

a set of ages to estimate coverage from

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.

Value

a pairlist with elements $a for the intercept and $b for the slope


[Package DDM version 1.0-0 Index]