This function generates points by transforming points
on the surface of a sphere.
Usage
gen_vc_ellipse(vc, xm = rep(0, ncol(vc)), n = 500)
Arguments
- vc
symmetric square matrix describing the
variance-covariance matrix which defines the shape
of the ellipse.
- xm
center of the ellipse, a vector of length
equal to the dimension of vc
- n
number of points to generate
Value
matrix of size n x p