Learn R Programming

FeatureImpCluster (version 0.1.5)

create_random_data: Create random data set with 4 clusters

Description

Create random data set with 4 clusters in a 2 dimensional subspace of a nr_other_vars+2 dimensional space

Usage

create_random_data(n = 10000, nr_other_vars = 4)

Arguments

n

number of points

nr_other_vars

number of other variables / "noise" dimensions

Value

list containing the random data.table and a vector with the true underlying cluster assignments

Examples

Run this code
# NOT RUN {
create_random_data(n=1e3)

# }

Run the code above in your browser using DataLab