MVN (version 4.0)

mvnPlot: Perspective and Contour Plots

Description

This function creates perspective and contour plots for a bivariate data set.

Usage

mvnPlot(object, type = c("persp", "contour"), default = TRUE, ...)

Arguments

object
an object of mardia, hz or royston class
type
if type is selected as persp it creates a perspective plot, if type is selected as contour it creates a contour plot.
default
when default is TRUE it creates plots in default settings
...
an optional argument

Details

After set the default=FALSE option, users can define their own plot settings with changing theta, phi, border and shade.

See Also

roystonTest hzTest mardiaTest mvOutlier uniPlot uniNorm

Examples

Run this code
setosa = iris[1:50, 1:2] # Iris data only for setosa and two variables
result = hzTest(setosa)
### Perspective Plot ### 
mvnPlot(result, type = "persp", default = TRUE)
### Contour Plot ### 
mvnPlot(result, type = "contour", default = TRUE)

Run the code above in your browser using DataLab