dts_pr2ar_ts.Rd
Compute the sum of squared errors
dts_pr2ar_ts(pr, model, get_pr, tol = 1e-08)
a PR time series
a model
a function to compute PR, such as F_pr
the tolerance
a vector of attack rates, as a time series