ellipmake: Plot Ellipse

Description Usage Arguments References Examples

Description

this function plots an ellipse of varying size and coridnates of the center

Usage

1
2
ellipmake(p = 0.95, b = matrix(c(1, 0.75, 0.75, 1), nrow = 2),
  mu = c(5, 2))

Arguments

p

floating point number, between 0 and 1 adjusts the size of the ellipse

b

a 2x2 matrix whith a determinate grater than 0 and all elements are positive, adjusts the shape of the ellipse

mu

a vector of length 2, adjusts the center of the ellipse

References

Hogg, R. McKean, J. Craig, A. (2018) Introduction to Mathematical Statistics, 8th Ed. Boston: Pearson.

Examples

1
2
3
4
p <- .85
b <- matrix(c(2,1,1,3), nrow=2)
mu <- c(3, 3)
ellipmake(p, b, mu)

austinragotzy/mathstat documentation built on May 13, 2019, 11:30 a.m.