checkHeight: Calculates the difference of the height to the mean.

Description Usage Arguments Value Examples

View source: R/checkHeight.R

Description

Takes a set of students and calculates the (sex-specific) mean of this group. Returns the set of students and th difference to the group average height.

Usage

1
checkHeight(students.input, sex.specific = TRUE, print.statement = FALSE)

Arguments

students.input

A data.frame with at least 'name' and 'height'

sex.specific

Use sex specific averages

print.statement

Indicator whether a notification message should be printed after calculation is completed successfully

Value

data.frame with the names and difference in meter

Examples

1
2
load(file = "./data/example.rda")
checkHeight(students.csv)

redichh/checkHeight documentation built on May 29, 2019, 8:06 a.m.