adjustages: adjust the range of ages used by 'ggbChooseAges()'

View source: R/plot_functions.R

adjustagesR 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 age range used for calculating the coverage coefficient

Value

the adjusted set of ages used for calculating the coverage coefficient


albinomatheus/toolbox documentation built on June 13, 2024, 5:42 a.m.