uni_dist: Distance for univariate data

uni_distR Documentation

Distance for univariate data

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

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

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

dicook/nullabor documentation built on July 10, 2022, 12:08 a.m.