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 Feb. 2, 2024, 8:24 p.m.