Learn R Programming

kpeaks (version 1.1.0)

x5p4c: Synthetic Data Set contains 5 Variables and 4 Clusters

Description

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

Usage

data(x5p4c)

Arguments

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

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab