Last chance! 50% off unlimited learning
Sale ends in
Joins tables in ISRaD based on linking variables and returns flat data frame/s
ISRaD.flatten(database, table)
A dataframe with nrow = nrow(table) and ncol = sum(ncol(meta), ncol(site), ncol(profile), ..., ncol(table))
ISRaD dataset object: e.g. ISRaD_data, or ISRaD_extra
ISRaD table of interest ("flux", "layer", "interstitial", "fraction", "incubation"). Must be entered with "".
J. Beem-Miller
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).
# Load example dataset Gaudinski_2001
database <- ISRaD::Gaudinski_2001
fractions <- ISRaD.flatten(database, "fraction")
layers <- ISRaD.flatten(database, "layer")
Run the code above in your browser using DataLab