pairwise_diff_all: Pairwise difference matrix

View source: R/utils.R

pairwise_diff_allR Documentation

Pairwise difference matrix

Description

A function to generate pairwise difference matrix for all combinations. The function generates all K(K-1) differences (excludes the diagonal) where K is the number of columns.

Usage

pairwise_diff_all(mat, ...)

Arguments

mat

A matrix of samples

Value

A matrix of K(K-1) pairwise differences in both directions.


jatotterdell/automaticsims documentation built on Aug. 22, 2024, 10:52 p.m.