cornerPlane {intrinsicDimension} | R Documentation |
Generates a sample from a uniform distribution on a bent plane. Half of the plane is in the xz-plane and half of the plane is bent over the x-axis, so that the resulting surface has an edge along the x-axis.
cornerPlane(Ns, theta = pi/4)
Ns |
number of data points. |
theta |
angle at the x-axis. |
A Ns
x 3 matrix with columns x, y and z.
Kerstin Johnsson, Lund University
datap <- cornerPlane(400)
par(mfrow = c(1, 2))
plot(datap[,1], datap[,2])
plot(datap[,1], datap[,3])