powered by
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)
number of data points.
angle at the x-axis.
A Ns x 3 matrix with columns x, y and z.
Ns
# NOT RUN { datap <- cornerPlane(400) par(mfrow = c(1, 2)) plot(datap[,1], datap[,2]) plot(datap[,1], datap[,3]) # }
Run the code above in your browser using DataLab