View source: R/sw_Pedotransfer_Functions.R
list_matched_swrcs_ptfs | R Documentation |
SWRCs
and PTFs
Matching pairs of implemented SWRCs
and PTFs
list_matched_swrcs_ptfs(swrc_name = names(swrc_names()))
swrc_name |
An character string or vector.
The selected |
A data.frame
with two columns SWRC
and PTF
where each
row contains a matching pair of SWRC
and PTF
that are implemented.
# Data frame of SWRC-PTF combinations
df_swrc_ptfs <- rSOILWAT2::list_matched_swrcs_ptfs()
# List of SWRC-PTF combinations
list_swrcs_ptfs <- unname(as.list(as.data.frame(t(df_swrc_ptfs))))
# Available SWRC-PTF combinations
has_ptf <- check_ptf_availability(df_swrc_ptfs[, "PTF"])
df_swrc_ptfs[has_ptf, , drop = FALSE]
list_swrcs_ptfs[has_ptf]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.