dist_to_df: 'dist_to_df' convert a distance class object or a matrix to a...

Description Usage Arguments Value Author(s)

View source: R/data_clean.R

Description

dist_to_df convert a distance class object or a matrix to a data frame.

Usage

1

Arguments

x

a object of class 'dist' or a matrix.

Value

a data frame with three columns: site1, site2, distance.

Author(s)

Daijiang Li


daijiang/dli55 documentation built on Jan. 9, 2020, 3:30 p.m.