Skip to contents

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 "gasdata" "soilphys" or "layers_map".

structure_from

From which element should the structure be returned?