Change the labels of the factor levels

Now, change the labels of the factor gender to “Male” and “Female”.
The label on the x-axis is unnecessary. Change the label to =””.
Change the label of the Y-axis to “Age at having sex for the first time (years)”.
If you don’t like the box, you can omit it by setting argument frame.plot = FALSE.