Learn R Programming

plot3logit (version 3.1.4)

confregion: It computes the confidence region in the ternary space

Description

Given the parameters of the confidence ellipse in the space of covariate coefficients, it returns the confidence region of the effect.

Usage

confregion(mu, Sig, conf = 0.95, npoints = 100)

Value

data.frame with three columns (named p1, p2, and p3) with ternary coordinates of the points of the ellipse.

Arguments

mu

centre of the ellipse.

Sig

covariance matrix of the ellipse.

conf

confidence level of the region.

npoints

number of points of the border.