expFit and logisticFit functions


#1

Hi,

I have recently learned about the functions expFit and logisticFit however when I try to use them on Rstudio they are not recognised.

Examples:

plot(time,mv)
expFit (time, mv, xlab = “Years Since 2000”, ylab = “Number of Motor Vehicles”)
logisticFit (time, mv, xlab = “Years Since 2000”, ylab = “Number of Motor Vehicles”)

Any tips will be much appreciated.
Many thanks


#2

The package qpcR has an expfit function in it.

https://www.rdocumentation.org/packages/qpcR/versions/1.4-0/topics/expfit

You will need to install thae qpcR package and then load it to use it.

Here is an article on doing logistic regression in R


#3

Thanks very much danr