z2cent {sitar}R 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))


[Package sitar version 1.4.0 Index]