Learn R Programming

TRES (version 0.1.0)

subspace: The distance between two subspaces span(A) and span(B).

Description

This function calculate the distance between two subspaces span(A) and span(B).

Usage

subspace(A, B)

Arguments

A

A \(p\)-by-\(u\) matrix.

B

A \(p\)-by-\(u\) matrix.

Value

Returns a distance metric that is between 0 and 1