search for: mergeday

Displaying 1 result from an estimated 1 matches for "mergeday".

Did you mean: merged
2009 Jan 16
2
Predictions with GAM
...jdaylitr2), data=datansd) newd1 <- data.frame(jdaylitr2=(244:304)) pred1 <- predict.gam(model1,newd1,type="response")* The problem I am encountering now is that I cannot seem to get it done for the following type of model: *model3<-gam(y_no~s(day,by=mapID),family=binomial, data=mergeday)* My mapID consists of 8 levels of which I get individual plots with * plot(model3)*. When I do predict with a newdata in it just like my first model I need all columns to have the same amount of rows or else R will not except it ofcourse, the col.names need to at least include day and mapID. This...