I somehow solved the problem - kind of. The data set on which I ran the GAM model contains many more variables than are needed in the model, so I created a new data set in R and reran the GAM model on the slimmed down data set. Same problem: The GAM can be computed, but the tensor product cannot be plotted. I then saved the slimmed down data set as a CSV file, reread it into R, computed the model once again, and lo and behold: I can now plot the tensor product. Any ideas why?
-- View this message in context: http://r.789695.n4.nabble.com/mgcv-1-7-19-vis-gam-invalid-z-limits-tp4638423p4638711.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.