Learn R Programming

BSDA (version 1.01)

Blackedu: Education level of blacks by gender

Description

Data for Exercise 8.55

Usage

Blackedu

Arguments

Format

A data frame with 5 observations on the following 3 variables.

education

a factor with levels bachelor deg graduate deg high sch dropout high sch graduate some college

female

a numeric vector

male

a numeric vector

Examples

Run this code
# NOT RUN {
str(Blackedu)
attach(Blackedu)
Blackedu
chisq.test(Blackedu[,2:3])
detach(Blackedu)
# }

Run the code above in your browser using DataLab