plot.mvn | R Documentation |
Generates diagnostic plots for objects of class mvn
, including multivariate Q-Q plots,
3D or contour kernel density plots, univariate plots (e.g., Q-Q, histograms, boxplots),
and multivariate outlier detection plots. If a grouping variable (subset) was used in the
mvn
function, plots will be generated separately for each group.
## S3 method for class 'mvn'
plot(x, ...)
x |
An object of class |
... |
Additional arguments passed to internal plotting functions:
|
This function is called for its side effect of producing plots. It does not return a value.
## Not run:
data <- iris[1:4]
result <- mvn(data)
plot(result, diagnostic = "multivariate", type = "qq")
plot(result, diagnostic = "univariate", type = "boxplot")
plot(result, diagnostic = "outlier")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.