Exporting summary.betareg and summary.gam from list to csv
I have two types of models (GAM and beta regression) that I am running for my data and I am using a lapply function to iterate over multiple variables. I am encountering an error when trying to export result summaries into a csv. Reproducible example below