Skip to contents

Plotting & analysis

The supported general-purpose library API: pure functions (or plotting functions taking explicit arguments) that anyone can library(tanner) and call interactively.

plot_stadia()
Plot a puberty stadia diagram
plot_stadia_general()
Draw the frame, percentile bands and axes of a puberty stadia plot
plot_stadia_lines()
Draw reference percentile lines on a puberty stadia plot
plot_stadia_data()
Draw a person's pubertal stage trajectory on a puberty stadia plot
interpolate_trajectory()
Interpolate a pubertal stage trajectory along reference curves
find_stage_segments()
Find segments of constant stage in a vector
calculate_sds()
Calculate the standard deviation score (SDS) of a pubertal stage
tnologo()
Draw the TNO logo

Reference data

nl1997
Dutch 1997 pubertal stage references
nl1997_lines
Dutch 1997 pubertal stage reference lines

Webapp internals

rApache request handlers for the existing webapp deployment; not meant to be called interactively from R.

plotter()
rApache handler for the puberty plot webapp
plotterpro()
rApache handler for the professional puberty plot webapp
upload_tryCatch_pro()
rApache handler for uploading puberty data files
plotdumpdir
Directory where generated plot and data files are written