R/interpolation.R
ar_of_pr_rho.Rd
Creates a function that interpolates an AR-to-PR dataset. The data calculates attack rate as a function of PR and recovery.
ar_of_pr_rho(pr_to_ar_dt)
pr_to_ar_dt | A data.table with columns AR, PR, and rho. |
---|
A function with signature function(pr, rho) -> AR.