Learn R Programming

BSDA (version 1.01)

Hostile: Hostility levels of high school students from rural, suburban, and urban areas

Description

Data for Example 10.6

Usage

Hostile

Arguments

Format

A data frame with 45 observations on the following 6 variables.

Rural

a numeric vector

Suburban

a numeric vector

Urban

a numeric vector

HLT

a numeric vector

Type

a numeric vector

Ranks

a numeric vector

Examples

Run this code
# NOT RUN {
str(Hostile)
attach(Hostile)
boxplot(HLT~Type)
kruskal.test(HLT~as.factor(Type))
detach(Hostile)
# }

Run the code above in your browser using DataLab