Learn R Programming

MVN (version 6.1)

summary.mvn: Summarize Multivariate Normality Analysis Results

Description

Provides a structured summary of the results from an object of class mvn, including multivariate and univariate normality tests, descriptive statistics, and multivariate outlier detection (if applicable).

Usage

# S3 method for mvn
summary(
  object,
  select = c("mvn", "univariate", "descriptives", "outliers", "new_data"),
  ...
)

Value

Invisibly returns the input object.

Arguments

object

An object of class mvn, as returned by the mvn function.

select

A character vector specifying which components to display. Must be one or more of "mvn", "univariate", "descriptives", "outliers", or "new_data". Defaults to showing all available sections.

...

Additional arguments (currently unused).

Examples

Run this code
if (FALSE) {
data <- iris[1:4]
result <- mvn(data)

summary(result)  # Show all sections
summary(result, select = c("mvn", "outliers"))  # Show selected sections only
}

Run the code above in your browser using DataLab