Hello to everybody: Im triying to develop a GAM model using Grasper. However, I cant obtain any result. Im obtaining always the same result: Error in "[.data.frame"(thindata, , cols) : invalid subscript type when I use grasp.cormat or Error in "[.data.frame"(XXX, , c(1, sX)) : invalid subscript type when I use grasp.model I think that my response variable have been imported in a correct way Id Presence 1 0 2 0 3 1 4 1 . . . . Anybody can help me? -- David Nogués Bravo Functional Ecology and Biodiversity Department Pyrenean Institute of Ecology Spanish Research Council Av. Montañana 1005 Zaragoza - CP 50059 976716030 - 976716019 (fax) [[alternative HTML version deleted]]