unflatten: Unflatten flatfile data.frames

View source: R/unflatten.R

unflattenR Documentation

Unflatten flatfile data.frames

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

unflatten(data)

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 Oct. 24, 2024, 5:08 p.m.