Skip to content
Back to formatted view

Raw Message

Message-ID: <201012061137.35175.s.wood@bath.ac.uk>
Date: 2010-12-06T11:37:35Z
From: Simon Wood
Subject: Help with GAM (mgcv)
In-Reply-To: <1291627988571-3074165.post@n4.nabble.com>

On Monday 06 December 2010 09:33, Stressed1985 wrote:
> Please help! Im trying to run a GAM:
>
> model3=gam(data2$Symptoms~as.factor(data2$txerad)+s(data2$maritalStatus),fa
>mily=binomial,data=data2)
>
> But keep getting this error:
> Error in dl[[i]] : subscript out of bounds
>
> Can someone please tell me what this error is?
- it's a bit difficult on the basis of the information you've supplied... 
- What version of mgcv are you using and with what R version on what platform? 
- What does summary(data2) give? 

best,
Simon


-- 
> Simon Wood, Mathematical Sciences, University of Bath, Bath, BA2 7AY UK
> +44 1225 386603  www.maths.bath.ac.uk/~sw283