confEllipse: Bivariate Quality Control Ellipse

Description Usage Arguments Examples

View source: R/confEllipse.R

Description

This function has 2 main features. The first feature is the quality control ellipse chart itself. The chart can be used to visually asses bivariate normality. The shape and direction of the ellipse gives information about the covariance between the 2 data columns. The second feature is test points. A vector argument can be supplied to be plotted on the control chart. The point is plotted in red for easy viewing. The user can easily determine whether the point being tested falls inside the quality control ellipse.

Usage

1
confEllipse(data, vec = NULL, alpha = 0.05, formatted = TRUE)

Arguments

data

, a 2 column data frame

vec

, a test point in the form of a 2x1 bector

alpha

, a confidence level

formatted

, a logical argument to determine whether the data is formatted correctly

Examples

1
2
3
data(iris)
iris2<-iris[,c(1,2)]
confEllipse(iris2, c(6, 2.9))

s-huebler/rotateS21 documentation built on Dec. 22, 2021, 8:21 p.m.