| NEWS | R Documentation |
News for R Package epigrowthfit
Changes in version 0.16.1 (2026-11-20)
Compatibility
Comparisons in ‘tests/egf_examples_random.R’ used too small tolerances.
Changes in version 0.16.0 (2026-11-20)
Significant User-Visible Changes
The bug fix (see below) changes the starting point of optimization in calls to
egfnot settinginit = list(beta = numeric), when the left endpoint of any fitting window is not zero (after coercion to numeric). In order to reproduce old results obtained by such a call, useegf(..., init = L), whereLis the value ofas.list(coef(egf(..., fit = FALSE)))under the old version of epigrowthfit.
New Features
Functions
egf1andegf1scanwrapping functionegfand handling its simplest usage, when there is exactly one time series and exactly one fitting window.
Bug Fixes
-
egfcomputed default initial values for certain"(Intercept)"coefficients incorrectly when the left endpoint of any fitting window was not zero (after coercion to numeric), causing problems with convergence when those initial values were not set in the call. Thanks to Chai Molina for the report and diagnosis (GH#10).
Changes in version 0.15.4 (2025-02-14)
Compatibility
Tests in ‘tests/egf_utils.R’ wrongly relied on the type of the value of a call to
seq.int, causing errors under R 4.5.
Changes in version 0.15.3 (2024-06-17)
Description
-
emdbook is removed from
Suggests. A full check of the package requires only TMB and its dependencies.
Deprecated and Defunct
-
egf_cacheis removed. Serializing objects undertools::R_user_dir("epigrowthfit", "cache")for reuse in examples and tests introduced a race condition when running two or more checks concurrently, and workarounds were not appealing.
Changes in version 0.15.2 (2024-04-24)
Documentation
-
\donttestis used for examples in ‘man/profile.egf.Rd’, which remained too long. -
\verbis used instead of\hreffor URL in ‘man/covid19.ontario.Rd’ to avoid HTTP 403.
Changes in version 0.15.1 (2024-04-24)
Description
-
‘Description’ field is expanded.
Documentation
-
\valuetags are added to two ‘man/*.Rd’.
Bug Fixes
Methods for
plotclean up after calls topar.Methods for
simulateno longer assign to the global environment.
Changes in version 0.15.0 (2024-04-23)
Significant User-Visible Changes
For as long as the version number is 0.y.z, details of the API are subject to change without formal deprecation. Significant user-visible changes will be documented here.
New Features
A “traditional” model estimating function
egf, returning model objects of classegf.Methods for generic functions:
coef,confint,df.residual,extractAIC,fitted,fixef(from nlme),formula,getCall,logLik,model.frame,model.matrix,nobs,plot,predict,print,profile,ranef(from nlme),simulate,summary,terms,vcov.Auxiliary functions of use in epidemiology:
R0,finalsize,timescale,[dpqr]gi.