box_dist: Distance based on side by side Boxplots for two levels
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
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