Re: [R] Error using mgcv package

2007-06-12 Thread Jari Oksanen
spime sabya23 at gmail.com writes: Hi all, I need some solution in the following problem. The following error appears when i use mgcv package for implementing GAM. But the same formula works fine in gam package. model.gam - gam(formula = RES ~

Re: [R] Error using mgcv package

2007-06-12 Thread spime
Dear Mr. Oksanen, First of all thanks for your reply. I have solved this problem in this way. My data consists of some categorical(CAT..) predictors and also some numerical variables(NUM..) have only {0,1} 0r {0,1,2,3} values. For applying GAM i just didnot consider their splines. I had came to

[R] Error using mgcv package

2007-06-11 Thread spime
Hi all, I need some solution in the following problem. The following error appears when i use mgcv package for implementing GAM. But the same formula works fine in gam package. model.gam - gam(formula = RES ~ CAT01+s(NUM01,5)+CAT02+CAT03+s(NUM02,5)+CAT04+ +