uni_dist: Distance for univariate data

Description Usage Arguments Value Examples

Description

The first four moments is calculated for data X and data PX. An euclidean distance is calculated between these moments for X and PX.

Usage

1
uni_dist(X, PX)

Arguments

X

a data.frame where the first column is only used

PX

another data.frame where the first column is only used

Value

distance between X and PX

Examples

1
if(require('moments')){uni_dist(rnorm(100), rpois(100, 2))}

nullabor documentation built on Feb. 26, 2020, 1:07 a.m.