matrixDistance {puma} | R Documentation

## 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

### Author(s)

Richard D. Pearson

### See Also

Related class `pumaPCA`

### Examples

    	show(matrixDistance(matrix(1,2,2),matrix(2,2,2)))

[Package puma version 3.22.0 Index]