Skip to contents

Symmetric gaussian data from "How to Use t-SNE Effectively".

Usage

gaussian_data(n, dim, sd = 1, color = NULL)

Arguments

n

Number of points.

dim

Dimension of the gaussian.

sd

Standard deviation.

color

Color to assign to the data points.

Value

Data frame with coordinates in the X1, X2 ... Xdim columns, and color in the color column.

Details

Creates a randomly-sampled symmetric gaussian dataset of the specified dimension.

Examples

df <- gaussian_data(n = 50, dim = 2)