uni_dist {nullabor} | R 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))}
[Package nullabor version 0.3.12 Index]