View source: R/cfp_layered_profile.R
cfp_layered_profile | R Documentation |
A subclass of cfp_profile()
where each profile consists of
layers that are defined by their upper
and lower
boundary without gaps or duplicates.
cfp_layered_profile(x, id_cols = NULL)
x |
A |
id_cols |
Column names in data.frame that uniquely identify each profile. |
upper
and lower
define the upper and lower bounds of
each layer in cm. Higher values lay on top of lower values.
A cfp_layered_profile
object. This is a
[cfp_profile()] that is further subdivided into layers by the
columns upper
and lower
.
Other data formats:
cfp_dat()
,
cfp_gasdata()
,
cfp_layers_map()
,
cfp_profile()
,
cfp_soilphys()
df <- data.frame(
site = rep(c("site_a", "site_b"), each = 2),
upper = c(10, 0, 7, 0),
lower = c(0, -100, 0, -100),
variable = 1:4)
cfp_layered_profile(df, id_cols = "site")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.