This broadly involves any cleaning and amendments (#1), adding documentation and unit tests.
For unit tests, include some examples for simple test cases for now. Note any errors and the input parameters, for example, when integrals fail to converge. Discuss and outline more complex ones later.
For now, package up the functions in:
R/FisherInformation.R
R/optimise_prevalence.R
R/util.R
This broadly involves any cleaning and amendments (#1), adding documentation and unit tests.
For unit tests, include some examples for simple test cases for now. Note any errors and the input parameters, for example, when integrals fail to converge. Discuss and outline more complex ones later.