kendalldist: Calculates the Riemannian distance between two superimposed...

View source: R/kendalldist.r

kendalldistR Documentation

Calculates the Riemannian distance between two superimposed landmark configs.

Description

Calculates the Riemannian distance between two superimposed landmark configs.

Usage

kendalldist(x, y)

Arguments

x

Matrix containing landmark coordinates.

y

Matrix containing landmark coordinates.

Value

returns Riemannian distance

Examples

if(require(shapes)) {
OPA <- rotonto(gorf.dat[,,1],gorf.dat[,,2])
kendalldist(OPA$X,OPA$Y)
}

Morpho documentation built on June 22, 2024, 7:19 p.m.