Fit the percentage of cases in the first year using the estimation model and original results of sutherland et al. using sum of least squares.

fit_model_to_data(model = sutherland_model,
  results = sutherland_results, ...)

Arguments

model

Model function to fit, by default uses sutherland_model.

results

Orginal results, by default uses sutherland_results

...

Pass additional to model. See sutherland_model for details if using this as the model function.

Value

The best fitting value for the percentage of cases in the first year using the sum of least squares.

Examples

fit_model_to_data(model = sutherland_model, results = sutherland_results)
#> [1] 0.7639907