unflatten: Unflatten flatfile data.frames

Description Usage Arguments Value Author(s)

View source: R/unflatten.R

Description

Sometimes data is provided in the flatfile format, but we really want it in mrds format (that is, as distance data, observation table, sample table and region table format). This function undoes the flattening, assuming that the data have the correct columns.

Usage

1

Arguments

data

data in flatfile format (a data.frame)

Value

list of four data.frames: distance data, observation table, sample table, region table.

Author(s)

David L Miller


Distance documentation built on Jan. 13, 2021, 10:43 p.m.