wasserMetric.v: Wasserstein Metric

Description Usage Arguments Value Author(s) Examples

Description

Wasserstein Metric

Usage

1
wasserMetric.v(cases, control, paranum = 101, q = 2)

Arguments

cases

name of case group data (matrix sample * feature).

control

names of control group data (matrix sample * feature).

paranum

the number of quatile discretization + 1. Default is discretized by 1%.

q

power of Wasserstein metric. Default is q = 2.

Value

Wasserstein metric

Author(s)

Yusuke Matsui & Teppei Shimamura

Examples

1
2
3
cases <- rbeta(30,1,5)
control <- rbeta(30,2,5)
wasserMetric.v(cases,control)


Search within the D3M package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.