View source: R/ISRaD.flatten.R
ISRaD.flatten | R Documentation |
Joins tables in ISRaD based on linking variables and returns flat data frame/s
ISRaD.flatten(database, table)
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 "". |
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).
A dataframe with nrow = nrow(table) and ncol = sum(ncol(meta), ncol(site), ncol(profile), ..., ncol(table))
J. Beem-Miller
# Load example dataset Gaudinski_2001
database <- ISRaD::Gaudinski_2001
fractions <- ISRaD.flatten(database, "fraction")
layers <- ISRaD.flatten(database, "layer")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.