ell: Generate a 2D ellipse with a given a center and a variance...

ellR Documentation

Generate a 2D ellipse with a given a center and a variance matrix.

Description

The ellipse is the contour of the bivariate normal distribution with variance 'shape'.

Usage

ell(center = rep(0, 2), shape = diag(2), radius = 1, n = 100)

Arguments

center

(default: c(0,0))

shape

variance of bivariate normal. Default: 2 x 2 identity

radius

of ellipse, equivalently: square root of deviance contour

n

number of points on the ellipse


gmonette/causalsim documentation built on April 21, 2022, 1:40 a.m.