MixStar_data: Generating MixStar data

Description Usage Arguments Value Examples

View source: R/simulations.R

Description

Generating MixStar data

Generating MixStar data

Usage

1
2
3
MixStar_data(n = 1000, d = 2, sd_high = 0.1)

MixStar_data(n = 1000, d = 2, sd_high = 0.1)

Arguments

n

a number indicating the number of points in each of the Gaussian clusters

d

a number indicating the dimension of the generated data. d>2 dimensions are filled with independent Gaussian noises

sd_high

a number indicating the standard deviation for Gaussian noises in the higher dimensions

Value

A list of generated data points and the true labels

A list of generated data points and the true labels

Examples

1
2
3
4
X = MixStar_data()$data
plot(X[,1], X[,2])
X = MixStar_data()$data
plot(X[,1], X[,2])

JerryBubble/skeletonClus documentation built on Dec. 18, 2021, 1:28 a.m.