I have been trying to generate generalized additive models (GAM) in R. For some reason, my commands are not working. For instance, a command such as fit

Similar questions and discussions