Mickey_data: Generating Mickey data

Description Usage Arguments Value Examples

View source: R/simulations.R

Description

Generating Mickey data

Generating Mickey data

Usage

1
2
3
Mickey_data(n1 = 1000, n2 = 100, s1 = 1, s2 = 0.2, d = 2, sd_high = 0.1)

Mickey_data(n1 = 1000, n2 = 100, s1 = 1, s2 = 0.2, d = 2, sd_high = 0.1)

Arguments

n1

a number indicating the number of points in the larger circle

n2

a number indicating the number of points in each of the two smaller circles

s1

a number indicating the base radius for the larger circle

s2

a number indicating the base radius for each of the two smaller circles

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 = Mickey_data()$data
plot(X[,1], X[,2])
X = Mickey_data()$data
plot(X[,1], X[,2])

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