optimEllipse | R Documentation |
Given a set of x/y positions, this function attempts to find the best fitting ellipse that goes through these points.
optimEllipse(x, y)
x, y |
Vectors of x and x positions. |
A vector with 5 elements: the x and y coordinated of the center of the ellipse, the width and height of the ellipse, and the angle of the ellipse relative to the y axis.
Simon Garnier, garnier@njit.edu
optimEllipse(rnorm(100), rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.