UCD-SERG / serocalculator

Estimating Infection Rates from Serological Data
https://ucd-serg.github.io/serocalculator/
3 stars 2 forks source link

clarify f_dev #201

Closed d-morrison closed 2 months ago

d-morrison commented 2 months ago

This PR cleans and documents f_dev.r to prepare for trying to speed up the core estimation routine est.incidence(), which relies on f_dev() to compute the negative log-likelihood function and its derivatives.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files Coverage Δ
R/build_likelihood_function.R 0.00% <ø> (ø)
R/est.incidence.R 61.29% <100.00%> (ø)
R/f_dev.r 94.11% <100.00%> (ø)

... and 2 files with indirect coverage changes