@Dselby86
When I try to run the Margins function for q4a, I'm getting the error "object 'Adoption' not found." My code is:
margins(log, at = list(Media = mean(data$Media)), variable = "Media")
The full error says:
Error in FUN(X[[i]], ...) : object 'Adoption' not found