[R-sig-eco] mgcv:gam predicted class?

2013-07-18 Thread Per Bergström
How to get prediction of classes in gam? I have a problem with getting predicted classes from a gam-model using the gam function in the mgcv-package. I have a dataset where I have classified the response variable into 5 classes (i. e. 1, 2, 3, 4, 5) and I want to use a gam-model generated on a

Re: [R-sig-eco] mgcv:gam predicted class?

2013-07-18 Thread Gavin Simpson
On Thu, 2013-07-18 at 16:13 +0200, Per Bergström wrote: How to get prediction of classes in gam? I have a problem with getting predicted classes from a gam-model using the gam function in the mgcv-package. I have a dataset where I have classified the response variable into 5 classes (i. e.