wasserMetric.v: Wasserstein Metric

Description Usage Arguments Value Author(s) Examples

View source: R/wasser_vec.R

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)

D3M documentation built on May 20, 2017, 4:56 a.m.

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