Learn R Programming

BSDA (version 1.2.0)

Depend: Number of dependent children for 50 families

Description

Data for Exercise 1.26

Usage

Depend

Arguments

Format

A data frame/tibble with 50 observations on one variable

number

number of dependent children in a family

References

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

Examples

Run this code
# NOT RUN {
T1 <- xtabs(~ number, data = Depend)
T1
barplot(T1, col = "lightblue", main = "Problem 1.26",
xlab = "Number of Dependent Children", ylab = "Frequency")
rm(T1)

# }

Run the code above in your browser using DataLab