distRcpp {bayMDS}R Documentation

calculate Euclidean distances

Description

calculate Euclidean distances between rows of matrix X

Usage

distRcpp(X)

Arguments

X

data matrix

Value

distance matrix

Examples

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


[Package bayMDS version 2.0 Index]