find_best_curve: Find the best gompertz curve

Description Usage Arguments Value

View source: R/find_best_curve.R

Description

Given a set of possible parameters for the gompertz curve, finds the best candidate, which is the one with the minimal sum of least squared residuals

Usage

1

Arguments

grid

A tibble returned from get_initial_params

obs

A vector of observed deaths

parallel

Logical. If true, uses parallel processing for speed up.

Value

A named vector of three values: lamba, mu and a


davidmaciel/covertzbr documentation built on Dec. 16, 2020, 8:15 a.m.