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

math_teachers

Format

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

Examples


aggregate(height ~  sex, data=math_teachers, FUN=mean)
#>      sex   height
#> 1   male 180.3750
#> 2 female 169.9286
aggregate(height ~  sex, data=math_teachers, FUN=function(x) {c(mean=mean(x), sd=sd(x))})
#>      sex height.mean  height.sd
#> 1   male  180.375000   5.149434
#> 2 female  169.928571   3.791981