cov2dist: Converts covariance matrix to distance one.

View source: R/cov2dist.R

cov2distR Documentation

Converts covariance matrix to distance one.

Description

This function takes a covariance matrix and turns it into a distance matrix following Gower (1966).

Usage

cov2dist(C)

Arguments

C

A pairwise, square, and symmetric distance matrix.

Value

A distance matrix of the same size.

Author(s)

Rodney J. Dyer rjdyer@vcu.edu


dyerlab/gstudio documentation built on Jan. 17, 2025, 11:17 a.m.