ggbgetAgesFit | R Documentation |
Called by ggbcoverageFromYear()
whenever exact.ages
are not given. This automates what one typically does visually.
ggbgetAgesFit(
codi,
minA = 5,
maxA = 75,
minAges = 8,
lm.method = "tukey",
opt.method = "r2",
scale = 1
)
codi |
|
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 |
lm.method |
character, one of:
|
opt.method |
what kind of residual do we minimize? choices |
scale |
multiplicative scale factor for the minimized residual |
a vector of ages that minimizes the RMSE
codeggbChooseAges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.