Description Usage Arguments See Also Examples
Fit a logistic growth model to two variables, return basic output about the model, and plot the model.
1 2 | logisticFit(x, y, xlab = deparse(substitute(x)),
ylab = deparse(substitute(y)))
|
x |
a designation for a variable on the x-axis. Can be a vector or object. |
y |
a designation for a variable on the y-axis. Can be a vector or object. |
xlab |
optional. Text for x-axis title label. |
ylab |
optional. Text for y-axis title label. #' @seealso
|
1 2 3 4 | data(wolf)
wolf$Time <- wolf$Year - min(wolf$Year)
logisticFit(wolf$Time, wolf$Number)
logisticFit(wolf$Time, wolf$Number, xlab="Years Since 1995", ylab="Number of Wolves")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.