Re: [R] gam (mgcv) problem: Error in while (mean(ldxx/(ldxx + ldss)) > 0.4) { :, missing value where TRUE/FALSE needed

2012-10-16 Thread Simon Wood
Hi Andrew, Could you send me a bit more information (off list, as this is likely to get into obscure details), please? In particular can you let me know the mgcv and R version numbers, the server operating system and, if possible, what BLAS it has installed? best, Simon On 16/10/12 07:32, An

Re: [R] gam (mgcv) problem: Error in while (mean(ldxx/(ldxx + ldss)) > 0.4) { :, missing value where TRUE/FALSE needed

2012-10-16 Thread Simon Wood
On 16/10/12 07:32, Andrew Crane-Droesch wrote: Hi All, I'm running into a problem with GAM (in the MGCV package). When I try to estimate the model, I get the following error message: 1> fit <- gam(ndvi~s(rain)+s(temp)+s(rainl1)+s(rainl2)+s(rainxY)+s(rainl1xY)+s(rainl2xY)+s(tempxY),

[R] gam (mgcv) problem: Error in while (mean(ldxx/(ldxx + ldss)) > 0.4) { :, missing value where TRUE/FALSE needed

2012-10-15 Thread Andrew Crane-Droesch
Hi All, I'm running into a problem with GAM (in the MGCV package). When I try to estimate the model, I get the following error message: 1> fit <- gam(ndvi~s(rain)+s(temp)+s(rainl1)+s(rainl2)+s(rainxY)+s(rainl1xY)+s(rainl2xY)+s(tempxY), data=dsub, weights=wvec) Error in while (m