z2cent function

Express z-scores as centile character strings for plotting

Express z-scores as centile character strings for plotting

Converts z-scores, typically defining centiles in a growth chart, to character strings that can be used to label the centile curves.

z2cent(z)

Arguments

  • z: a scalar or vector of z-scores.

Returns

A character string is returned, the same length as z. Z-scores between the 1st and 99th centile are converted to centiles with one or two significant figures (lower tail) or to their complement (upper tail). For larger z-scores in absolute value the character consists of "SDS" appended to the z-score rounded to one decimal place.

Examples

z2cent(-4:4) z2cent(qnorm(0:100/100))

See Also

cLMS

Author(s)

Tim Cole tim.cole@ucl.ac.uk