Learn R Programming

BSDA (version 1.2.2)

Absent: Number of absent days for 20 employees

Description

Data used in Exercise 1.28

Usage

Absent

Arguments

Format

A data frame/tibble with 20 observations on one variable

days

days absent

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code

CT <- xtabs(~ days, data = Absent)
CT
barplot(CT, col = "pink", main = "Exercise 1.28")
plot(ecdf(Absent$days), main = "ECDF")

Run the code above in your browser using DataLab