Description Usage Arguments Details Value Author(s) See Also Examples
Tools to generate 2D data, concentration and confidence ellipses given a center and a 'variance' matrix. Also tools to generate points on a ellipse in a given direction or conjugate to that direction, axes along a vector or conjugate to it, tangent lines at a point or parallel to a vector.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
center |
the center of the ellipse |
shape |
a 2 x 2 positive semi-definite. It is the variance matrix of a multivariate normal for which the ellipse is a concentration ellipse. |
radius |
of the ellipse or point relative to the unit ellipse. For all functions except those generating tangents |
n |
number of points to generate for the ellipse |
ell |
is an object of class |
dir |
vector giving the direction from the center of the ellipse to find a point on the ellipse or a tangent to it, or a direction conjugate to the direction in which ... |
len |
half 'length' of a tangent vector |
v |
tangent vector |
ell
returns a matrix of points on the ellipse, suitable for plotting
with lines
.
ellpt
returns a point on an ellipse particular direction specified by dir
ellptc
returns a point on an ellipse in a conjugate direction specified by dir
The functions ell
and dell
return an object of class ell
consisting of
matrix whose rows are points on the ellipse and, thus, can be plotted with plot
or lines
.
The other functions return a n x 2 matrix of points to plotted.
Georges Monette
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.