SSnegexp: Negative Exponential Model

Description Usage Arguments Value Examples

Description

A self-starting model fitting function for a negative exponential model. The model formula is ~ b0 + b1*exp(-t/theta)

Usage

1
SSnegexp(t, b0, b1, theta)

Arguments

t

The time variable, or analogue

b0, b1, theta

place-holders for the parameter estimates

Value

An evaluated model function, with a derivative matrix attribute

Examples

1
2
fm <- nls(Weight ~ SSnegexp(Days, b0, b1, theta), wtloss)
coef(fm)

BillVenables/WWRCourse documentation built on Jan. 31, 2021, 4:22 p.m.