[R] Error message when running gam (mgcv). object not found
diego.pavonjordan at gmail.com
Fri Dec 11 10:25:38 CET 2015
I am trying to fit gam to my data but it keeps giving me errors.
It does not find the covariate ArrivalTime even though it is clearly
defined in the data frame. It happens with any covariate that I put in the
s() term... And not only for this data set, but for any dataset that I try
Do you have any idea why I can't run gam? I can run perfectly any other
type of models (GLM, GLMM, ZIP...)..
Any help would be appreciated. Thank you very much.
*Diego Pavón Jordán*
*Finnish Museum of Natural History*
*PO BOX 17 *
> T1 <- gam(E1 ~ s(ArrivalTime), data = Owls)Error in as.matrix(x) : object 'ArrivalTime' not found> ls(Owls)  "ArrivalTime" "BroodSize" "FoodTreatment" "LogNeg"
 "NegPerChick" "Nest" "SexParent"
 "Xcoord" "Ycoord"
[[alternative HTML version deleted]]
More information about the R-help