[R] GAM vs. MGCV packages
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Oct 25 08:09:41 CEST 2007
The short answer is
'use mgcv unless you want compatibility with S or to use lo() terms'.
You can read about the main differences by
library(mgcv)
?gam
Note that both packages are lower-case, and case does matter.
On Wed, 24 Oct 2007, Firas Ahmed wrote:
> Hi all,
>
> I am a new R- user and I am going through the R-manuals, but I could not
> find an answer for my question.
>
> I am confused about when to use the GAM package and when to use the MGCV
> package??
>
> My Model is a GAM model of continuous outcome and many non-linear continuous
> predictors (using the "s" function) as well as categorical predictors.
>
> Thanks in advance for your help and time.
>
>
>
> Firas
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list