dataEllipse | R Documentation |
Constructs an ellipse from x- and y-coordinate data.
dataEllipse(x, y, percent = 100, smooth = 0)
x |
the x-coordinate data. |
y |
the y-coordinate data. |
percent |
a scale factor, adjusted to include |
smooth |
required for naming compatibility with other functions, not used. |
A list containing the x- and y-coordinates of the ellipse.
cov2Ellipse
, hull
## Not run: set.seed(1) X <- rnorm(32) Y <- X + rnorm(32) TMP <- dataEllipse(X, Y) # Just print the first 10 values lapply(TMP, function(x) x[1:10]) # For examples of dataEllipse in graphs see: vignette(topic="GraphAdditions", package="smwrGraphs") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.