Learn R Programming

puma (version 3.12.0)

matrixDistance: Calculate distance between two matrices

Description

This calculates the mean Euclidean distance between the rows of two matrices. It is used in the function pumaPCA

Usage

matrixDistance( matrixA , matrixB )

Arguments

matrixA
the first matrix
matrixB
the second matrix

Value

A numeric giving the mean distance

See Also

Related class pumaPCA

Examples

Run this code
	show(matrixDistance(matrix(1,2,2),matrix(2,2,2)))

Run the code above in your browser using DataLab