uni_dist {nullabor} | R Documentation |
The first four moments is calculated for data X and data PX. An euclidean distance is calculated between these moments for X and PX.
uni_dist(X, PX)
X |
a data.frame where the first column is only used |
PX |
another data.frame where the first column is only used |
distance between X and PX
if(require('moments')){uni_dist(rnorm(100), rpois(100, 2))}