do_gompertz: Gompertz curve equation

Description Usage Arguments Details Value Examples

View source: R/do_gompertz.R

Description

Estimates the values of a gompertz grow process

Usage

1
do_gompertz(time, lambda, mu, a)

Arguments

time

Integer. A vector of one or more values, counted as the number of days.

lambda

Numeric. A single value for the lambda parameter in the gompertz equation.

mu

Numeric. A single value for the mu parameter in the gompertz equation.

a

Numeric. A single value for de alpha parameter in the gompertz equation.

Details

This function uses the same parametrization of the gompertz curve used in the grofit package.

Value

a vector of the predict number of total deaths.

Examples

1
do_gompertz(1:100, lambda = 47, mu = 1000, a = 100000)

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