model_nls: Non linear modelling of the gompertz curve

Description Usage Arguments Value

View source: R/model_nls.R

Description

Given a vector of observations, estimates a non linear model by weighted least squares using the gompertz equation and the values of parameters from the best curve found trough find_best_curve as initial values

Usage

1
model_nls(best_curve, obs)

Arguments

best_curve

A vector, returned from find_best_curve

obs

Numeric. A vector of observed total deaths.

Value

. A non-linear model object


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