dist_bayes: Distance in Bayes space

Description Usage Arguments Value Examples

Description

Distance in Bayes space

Usage

1
dist_bayes(tensor1, tensor2, iR)

Arguments

tensor1

A 3x3 symmetric matrix.

tensor2

A 3x3 symmetric matrix.

iR

The inverse of the SDP tensor associated to the reference measure of the Bayes space.

Value

A positive scalar.

Examples

1
2
3
D1 <- diag(c(1.7, 0.3, 0.1)) * 1e-3
D2 <- diag(c(0.3, 1.7, 0.1)) * 1e-3
dist_bayes(D1, D2)

astamm/bayesr documentation built on May 10, 2019, 2:05 p.m.