cell_total_linkage: Calculates the distance from this cell to all other cells

Description Usage Arguments Details Value

View source: R/distance.R

Description

Iterates over every cell in the other cells table and calculates the the distance to all of those cells.

Usage

1
cell_total_linkage(cell_1, other_cells, distance = "euclidean")

Arguments

cell_1

A data frame with one row for the one cell

other_cells

cells x dimensions data frame of destination cells

distance

Point to point distance to use. Options are "euclidean", "maximum", "manhattan", "canberra", "binary", "minkowski"

Details

All the cells in the other group should be labelled by group as well. This will allow the function to correctly assign the distances to group.

Value

Data frame containing labelled distance to every cell in other cells data frame


sbrn3/disscat documentation built on Dec. 12, 2019, 7:54 a.m.