Learn R Programming

BSDA (version 1.01)

Depend: Number of dependent children for 50 families

Description

Data for Exercise 1.26

Usage

Depend

Arguments

Format

A data frame with 50 observations on the following 4 variables.

C1

a numeric vector

number

a numeric vector

Count

a numeric vector

Percent

a numeric vector

Examples

Run this code
# NOT RUN {
str(Depend)
attach(Depend)
table(C1)
barplot(table(C1),col="lightblue",main="Problem 1.26",
xlab="Number of Dependent Children",ylab="Frequency")
detach(Depend)
# }

Run the code above in your browser using DataLab