Learn R Programming

doBy (version 4.6.27)

math_teachers: Height of math teachers

Description

Height of a sample of math teachers in Danish high schools collected at a continued education day at Mariager Fjord Gymnasium in 2019.

Format: height: Height in centimeters sex: male or female

Usage

math_teachers

Arguments

Format

An object of class tbl_df (inherits from tbl, data.frame) with 30 rows and 2 columns.

Examples

Run this code

aggregate(height ~  sex, data=math_teachers, FUN=mean)
aggregate(height ~  sex, data=math_teachers, FUN=function(x) {c(mean=mean(x), sd=sd(x))})

Run the code above in your browser using DataLab