as_distance_vector: Convert Latent Locations to a Vector of Distances

Description Usage Arguments Details Value Author(s)

View source: R/utils.R

Description

Converts a matrix of latent locations to a vector of pairwise distances.

Usage

1

Arguments

Z

Matrix representing latent locations.

...

Additional parameters to be passed to dist.

Details

Converts a matrix of latent locations for each of the n nodes to a column vector of pairwise distances.

Value

Column vector of distances as contained in the lower.tri(d), where d is the distance matrix.

Author(s)

Jason W. Morgan jason.w.morgan@gmail.com


jason-morgan/dynnet documentation built on May 18, 2019, 4:53 p.m.