ISRaD.flatten: ISRaD.flatten

View source: R/ISRaD.flatten.R

ISRaD.flattenR Documentation

ISRaD.flatten

Description

Joins tables in ISRaD based on linking variables and returns flat data frame/s

Usage

ISRaD.flatten(database, table)

Arguments

database

ISRaD dataset object: e.g. ISRaD_data, or ISRaD_extra

table

ISRaD table of interest ("flux", "layer", "interstitial", "fraction", "incubation"). Must be entered with "".

Details

ISRaD.extra.flatten generates 2-dimensional matrices for user-specified ISRaD tables by joining higher level tables (metadata, site, profile, layer) to lower level tables (layer, fraction, incubation, flux, interstitial).

Value

A dataframe with nrow = nrow(table) and ncol = sum(ncol(meta), ncol(site), ncol(profile), ..., ncol(table))

Author(s)

J. Beem-Miller

Examples

# Load example dataset Gaudinski_2001
database <- ISRaD::Gaudinski_2001
fractions <- ISRaD.flatten(database, "fraction")
layers <- ISRaD.flatten(database, "layer")

ISRaD documentation built on Sept. 21, 2023, 9:06 a.m.

Related to ISRaD.flatten in ISRaD...