Learn R Programming

BSDA (version 1.01)

Longtail: Long-tailed distributions to illustrate Kruskal Wallis test

Description

Data for Exercise 10.45

Usage

Longtail

Arguments

Format

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

GroupA

a numeric vector

GroupB

a numeric vector

GroupC

a numeric vector

score

a numeric vector

Group

a numeric vector

Ranks

a numeric vector

Examples

Run this code
# NOT RUN {
str(Longtail)
attach(Longtail)
boxplot(score~Group)
kruskal.test(score~as.factor(Group))
anova(lm(score~as.factor(Group)))
detach(Longtail)
# }

Run the code above in your browser using DataLab