tripleFit: Fit three models at once

Description Usage Arguments See Also Examples

View source: R/tripleFit.R

Description

Fit a linear, exponential, and logistic growth model to two variables and plot the model.

Usage

1
tripleFit(x, y)

Arguments

x

a designation for a variable on the x-axis. Must be a vector.

y

a designation for a variable on the y-axis. Must be a vector.

See Also

linFit expFit logisticFit

Examples

1
2
3
data(wolf)
wolf$Time <- wolf$Year - min(wolf$Year)
tripleFit(wolf$Time, wolf$Number)

MichaelJMahometa/OnRampsR documentation built on Feb. 12, 2020, 12:31 a.m.