Skip to contents

Internal 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.

Usage

plot_stadia_lines(plotlines, colors, sex, ref)

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.

Value

Invisibly returns NULL; the function draws on the current graphics device.