Learn R Programming

childsds (version 0.5)

sds,refs-method: calculates standard deviation scores according to a given reference

Description

calculates standard deviation scores according to a given reference

Usage

"sds"(object, item, sex, age, value)

Arguments

object
refs object
item
reference contained in object
sex
gender
age
age
value
numeric value which should transform into SDscore

Examples

Run this code
data(who.ref)
sds(who.ref,item="height",sex="female",age=0,value=c(50,51,52,53))
sds(who.ref,item="weight",sex="female",age=0,value=c(2.5,3,3.5))
sds(who.ref,item="bmi",sex="male",age=c(10,11,12),value=c(14.5,15,19.5))

Run the code above in your browser using DataLab