TVD: Calculates TVD between two matrices

Description Usage Arguments Value Examples

View source: R/Evaluation.R

Description

Calculates TVD between two matrices

Usage

1
TVD(A, B)

Arguments

A

first matrix

B

second matrix

Value

Total variation distance

Examples

1
TVD(matrix(runif(25), nrow=5), matrix(runif(25), nrow=5))

Example output

[1] 4.297783

StatRank documentation built on May 1, 2019, 8:22 p.m.