[R] Error in gam() object 'scat' no found

David Winsemius dwinsemius at comcast.net
Wed Sep 28 21:55:57 CEST 2016


> On Sep 27, 2016, at 8:11 PM, Karl Neergaard <karlneergaard at gmail.com> wrote:
> 
> Thank you David for taking time to answer my not so helpful question.
> 

I thought your question had sufficient detail for at least a reasonable guess at an answer. When I first started using R I also thought that the gam function would come from the gam package. It would certainly have been better to provide a full question (starting with a library call to you package, creating a dataset, quite possibly using one from the package help files,  and running code with complete text for all errors),  but this was a case where I thought the source of the problem was clear. I'm sure your next question will be more complete and in plain text.

Best;

David,
> 
> On Tue, Sep 27, 2016 at 11:15 PM, David Winsemius <dwinsemius at comcast.net> wrote:
> 
> > On Sep 26, 2016, at 9:50 PM, Karl Neergaard <karlneergaard at gmail.com> wrote:
> >
> > I received an error message while trying to use family=scat in the GAM
> > package. The models were working fine yesterday.
> > The problem is not with my data seeing as the gaussian distribution is
> > working fine.
> >
> > mod=gam(RT~s(a) + s(b), data=dat, family=gaussian)
> > mod=gam(RT~s(a) + s(b), data=dat, family=scat)
> >
> > Might this problem be unrelated to GAM specifically, and to my R
> > configuration?
> > I have removed the gam package and re-installed it several times to no
> > avail.
> 
> The scat function is in package mgcv. It also has a `gam` function and is generally thought of as the "standard" approach for estimating generalized additive models.
> 
> 
> >
> > Thank you for any assistance,
> > Karl
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > 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.
> 
> David Winsemius
> Alameda, CA, USA
> 
> 

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list