adjustages {DDM}R Documentation

adjust the range of ages used by ggbChooseAges()

Description

a utility function called by ggbChooseAges(). After clicking a point, this function readjusts the age range

Usage

adjustages(a, age, agesfit)

Arguments

a

an age specified by the user, as returned by guessage()

age

ages present in dataset

agesfit

the former age range used for calculating the coverage coefficient

Value

the adjusted set of ages used for calculating the coverage coefficient


[Package DDM version 1.0-0 Index]