Learn R Programming

Morpho (version 2.12)

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

Description

Calculates the Riemannian distance between two superimposed landmark configs.

Usage

kendalldist(x, y)

Value

returns Riemannian distance

Arguments

x

Matrix containing landmark coordinates.

y

Matrix containing landmark coordinates.

Examples

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

Run the code above in your browser using DataLab