oblong: Oblong Normal Distribution

Description Usage Arguments Details Value Author(s) Examples

Description

Generates a sample from a certain anisotropic normal distribution centered around the origin.

Usage

1
 oblongNormal(Ns, n) 

Arguments

Ns

number of data points.

n

dimension of the distribution (and the data points).

Details

In the first half of the dimensions (rounded down if n is odd) the standard deviation is 1 and in the rest the standard deviation is 0.25 .

Value

A Ns by n matrix.

Author(s)

Kerstin Johnsson, Lund University

Examples

1
2
3
4
datap <- oblongNormal(100, 10)
par(mfrow = c(1, 2))
plot(datap[, 1], datap[, 2])
plot(datap[, 1], datap[, 6])

kjohnsson/intrinsicDimension documentation built on June 4, 2019, 8:05 p.m.