dist_to_df: Change a distance matrix or a matrix to a data frame

View source: R/data_clean.R

dist_to_dfR Documentation

Change a distance matrix or a matrix to a data frame

Description

Convert a distance class object or a matrix to a data frame.

Usage

dist_to_df(x)

Arguments

x

An object of class 'dist' or a matrix.

Value

A data frame with three columns: Var1, Var2, distance.


daijiang/lirrr documentation built on June 13, 2025, 1:41 p.m.