z2cent: Express z-scores as centile character strings for plotting

View source: R/LMS2z.R

z2centR Documentation

Express z-scores as centile character strings for plotting

Description

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

Usage

z2cent(z)

Arguments

z

a scalar or vector of z-scores.

Value

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.

Author(s)

Tim Cole tim.cole@ucl.ac.uk

See Also

cLMS

Examples


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


sitar documentation built on July 9, 2023, 6:51 p.m.