evaluateCentiles: Build a list which contains the zscore, as well as user...

Description Usage Arguments Value Examples

View source: R/lmsUtils.R

Description

Build a list which contains the zscore, as well as user defined centiles.

Usage

1
evaluateCentiles(x, y, ref, centiles, zscores)

Arguments

x

The x value (e.g., (gestational) age).

y

The y value (e.g., height).

ref

A data.frame, which contains x and LMS values.

centiles

A vector with centiles to be calculated and added to the resulting list.

zscores

A vector with zscores to be calculated and added to the resulting list.

Value

List with zscore and y values for the provided centiles and zscores.

Examples

1
evaluateCentiles(0, 42.1, data.frame(x = c(), l = c(), m = c(), s = c()), centiles = c(.03, .5, .9), zscores = c(1.881))

CrescNet/GrowthSDS documentation built on Feb. 4, 2021, 5:40 p.m.