ISRaD.flatten {ISRaD} | R 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")
[Package ISRaD version 2.5.5 Index]