powered by
Generates a sample from a certain anisotropic normal distribution centered around the origin.
oblongNormal(Ns, n)
number of data points.
dimension of the distribution (and the data points).
A Ns by n matrix.
Ns
n
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 .
# NOT RUN { datap <- oblongNormal(100, 10) par(mfrow = c(1, 2)) plot(datap[, 1], datap[, 2]) plot(datap[, 1], datap[, 6]) # }
Run the code above in your browser using DataLab