Draw reference percentile lines on a puberty stadia plot
Source:R/plot-stadia.R
plot_stadia_lines.RdInternal helper used by plot_stadia to add the Dutch
reference lines for males (Genital, Pubic hair, Testis) or females
(Breast, Pubic hair, Menarche) to the current plot.
Arguments
- plotlines
Logical vector of length 3 indicating which reference lines to draw.
- colors
Character vector of length 3 with the colors for the three pubertal stage variables.
- sex
"M"or"F".- ref
Reference data, as produced by
nl1997_lines.