Learn R Programming

Blossom (version 1.4)

Dist2mvm-methods: Report distance to the multivariate median

Description

Appends the distance to the multivariate median onto the the original input data and returns it.

Usage

Dist2mvm(x)

Arguments

x
an object of a suitable class - at present only "MEDQObj".

Value

A data.frame with the distance to the multivariate median appended to the end of the original input data.

Examples

Run this code
out <- medq(data = bgrouse)
summary(out)
BgDist2mvm <- Dist2mvm(out)

Run the code above in your browser using DataLab