Skip to contents

unfold converts the lower diagonal elements of a matrix into a vector

Usage

unfold(X, scale = TRUE)

Arguments

X

is a distance matrix

scale

if TRUE then matrices will be standardized (defaults to TRUE)