Depend | R Documentation |
Data for Exercise 1.26
Depend
A data frame/tibble with 50 observations on one variable
number of dependent children in a family
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
T1 <- xtabs(~ number, data = Depend)
T1
barplot(T1, col = "lightblue", main = "Problem 1.26",
xlab = "Number of Dependent Children", ylab = "Frequency")
rm(T1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.