cross: Simulated Cross Data

Description Usage Examples

Description

A 500 by 3 matrix in which the first column is the classification and the remaining columns are two data from a simulation of two crossed elliptical Gaussians.

Usage

1

Examples

1
2
3
4
5
6
7
8
9
# This dataset was created as follows
## Not run: 
n <- 250 
set.seed(0)
cross <- rbind(matrix(rnorm(n*2), n, 2) %*% diag(c(1,9)),
               matrix(rnorm(n*2), n, 2) %*% diag(c(1,9))[,2:1])
cross <- cbind(c(rep(1,n),rep(2,n)), cross)

## End(Not run)

Japrin/mclust documentation built on Nov. 18, 2019, 5:21 a.m.