DEPEND {PASWR2}R Documentation

Number of Dependent Children for 50 Families

Description

Number of dependent children for 50 randomly selected families

Usage

DEPEND

Format

A data frame with 50 observations on 1 variable:

Source

Kitchens, L. J. 2003. Basic Statistics and Data Analysis. Duxbury.

References

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.

Examples

xtabs(~number, data = DEPEND)
ggplot(data = DEPEND, aes(x = factor(number))) + 
geom_bar(fill = "cornsilk", color = "orange") + labs(x = "Number of Dependent Children")
ggplot(data = DEPEND, aes(x = number)) + geom_density(fill = "pink", alpha = 0.3, 
color = "red") + labs(x = "Number of Dependent Children")

[Package PASWR2 version 1.0.5 Index]