depth_structure {ConFluxPro} | R Documentation |
Unique layers depths
Description
Get the unique layers or depths, i.e. the backbone of an object given a set of identifying columns.
Usage
depth_structure(x, id_cols = NULL, ...)
## S3 method for class 'cfp_layered_profile'
depth_structure(x, id_cols = NULL, ...)
## S3 method for class 'cfp_profile'
depth_structure(x, id_cols = NULL, ...)
## S3 method for class 'cfp_dat'
depth_structure(x, id_cols = NULL, structure_from = NULL, ...)
Arguments
x |
An object to get general structure of. |
id_cols |
The columns that identify each set of depth structures to extract (e.g. a site identifier). |
... |
internal
One of |
structure_from |
From which element should the structure be returned? |
Value
A cfp_profile with columns depth, or upper and lower.
Examples
depth_structure(cfp_soilphys(ConFluxPro::base_dat))
depth_structure(cfp_gasdata(ConFluxPro::base_dat))
[Package ConFluxPro version 1.3.1 Index]