checkDIST {bayMDS}R Documentation

check the dissimilarity matrix

Description

check the type of dissimilarity matrix and convert it to a symmetric full matrix for the input of bmdsMCMC and bmds function

Usage

checkDIST(dist, ...)

Arguments

dist

dissimilarity measures for pairs of objects

...

arguments to be passed to methods

Value

a full matrix of dissimilarity measures

Examples

x <- matrix(rnorm(100), nrow = 5)
dist(x)
checkDIST(dist(x))

[Package bayMDS version 2.0 Index]