box_dist: Distance based on side by side Boxplots for two levels

Description Usage Arguments Value Examples

View source: R/distances.r

Description

Assuming there are only two groups, the first quartile, median and third quartile is calculated for each group of data X. The absolute difference between these statistics between the two groups are then calculated. Same is done for data PX. Finally an euclidean distance is calculated between the absolute differences of X and PX.

Usage

1
box_dist(X, PX)

Arguments

X

a data.frame with one factor variable and one continuous variable

PX

a data.frame with one factor variable and one continuous variable

Value

distance between X and PX

Examples

1
2

nullabor documentation built on May 29, 2017, 9:44 a.m.

Search within the nullabor package
Search all R packages, documentation and source code