Learn R Programming

Blossom (version 1.4)

example3: Example univariate response data for MRPP

Description

Hypothetical univariate response data in 2 groups with no outliers (Mielke 1986).

Usage

data(example3)

Arguments

Format

A data frame with 30 observations on the following 2 variables.
group
Grouping variable (1 or 2).
response
Univariate response variable.

Source

Mielke, P.W. 1986. Non-metric statistical analyses: some metric alternatives. Journal of Statistical Planning and Inference 13, 377--387.

Examples

Run this code

par(mfrow=c(2,1))

hist(example3$response[example3$group==1],breaks = 6,xlim = c(14.5,16),
 ylim = c(0,7),ylab = "Count",xlab = "",main = "Group 1",col = "blue")

hist(example3$response[example3$group==2],breaks = 6,xlim = c(14.5,16),
 ylim = c(0,7),ylab = "Count",xlab = "Response",main = "Group 2",col = "blue")

Run the code above in your browser using DataLab