Learn R Programming

couplr (version 1.0.10)

build_cost_matrix: Build cost matrix for matching

Description

This is the main entry point for distance computation.

Usage

build_cost_matrix(
  left,
  right,
  vars,
  distance = "euclidean",
  weights = NULL,
  scale = FALSE
)

Arguments

Value

Numeric matrix of distances with optional scaling/weights applied.