I have been set the tast of running a Poisson regression and then using the predict command to predict the number of visits to the doctors per age group (<30, 30-50, >50) Whilst keeping illness and sex at their constant mean values.
Now my gender variable is:
> levels(DoctorVisits$gender)...