distA2B: Distances a to b

Description Usage Arguments Value Author(s)

View source: R/distA2B.R

Description

Calculates the distances from all rows of a to b.

Usage

1
distA2B(a, b, defined = rep(1, ncol(a)))

Arguments

a

A matrix, containing data as rows.

b

Another matrix, containing data as rows.

defined

A vector of the same length as the rows of a and b, containing 1 for all columns to be used and other values for all columns to be discarded.

Value

a2b

A matrix containing the distances between the lines of a and b.

Author(s)

Raphael Paebst


Mthrun/Distances documentation built on Feb. 4, 2020, 8:39 p.m.