[R-sig-ME] gamm
Maarten de Groot
Maarten.deGroot at nib.si
Wed Jun 2 10:58:04 CEST 2010
Dear list,
I would like to relate probability of responding animals to a signal
variable. because the relationship is not linear, I used gam with
binomial distribution. Till here there was no problem. However, the
animals were used repeatedly for different values of the signal
variable, I included the animal as a random factor (N = 26). Furthermore
I have missing values, because some animals died during the process.
When running the following model: M1<-gamm(call~s(signal variable),
random=list(fanimal=~1), data=mydata,family=binomial), I encountered the
following message:
Error in plot.window(...) : need finite 'xlim' values
In addition: Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf
3: In min(x) : no non-missing arguments to min; returning Inf
4: In max(x) : no non-missing arguments to max; returning -Inf
Can someone help what went wrong and give some advise on letting the
model run correctly.
Kind regards,
Maarten de Groot
More information about the R-sig-mixed-models
mailing list