Learn R Programming

bayMDS (version 2.0)

distRcpp: calculate Euclidean distances

Description

calculate Euclidean distances between rows of matrix X

Usage

distRcpp(X)

Value

distance matrix

Arguments

X

data matrix

Examples

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

Run the code above in your browser using DataLab