I am using the mgcv package in R studio to create a model with the gam function. I have made the neccessary plots but I would like to export the result of the model in excel to work with the data. Do you know how I can export the result of gam in tables/excel?
Thank you