Learn R Programming

StatRank (version 0.0.6)

TVD: Calculates TVD between two matrices

Description

Calculates TVD between two matrices

Usage

TVD(A, B)

Arguments

A
first matrix
B
second matrix

Value

Total variation distance

Examples

Run this code
TVD(matrix(runif(25), nrow=5), matrix(runif(25), nrow=5))

Run the code above in your browser using DataLab