R: Synthetic Data Set with 5 Variables and 4 Clusters

x5p4c {kpeaks} | R Documentation

## Synthetic Data Set with 5 Variables and 4 Clusters

### Description

A synthetically created data frame consists of five continous variables that form four clusters.

### Usage

    data(x5p4c)

### Format

A data frame with 400 rows and 5 numeric variables:

p1

  a continous variable with one mode

p2

  a continous variable with four modes

p3

  a continous variable with two modes

p4

  a continous variable with three modes

p5

  a continous variable with two modes

### Note

The data set `x5p4c` is recommended to use in comparing the performances of the internal validity indexes in cluster analysis.

### Examples

    data(x5p4c)
    # descriptive statistics of the variables
    summary(x5p4c)
    # plot the histogram of the variable p2
    hist(x5p4c$p2, breaks=15)
    # scatter plots of the variable pairs
    pairs(x5p4c)

[Package kpeaks version 0.1.0 Index]