Skip to contents

Generates a function factory for usage with strat_cont_to_multiadm based on empirical tracer measurements in the section

Usage

strat_cont_gen_from_tracer(
  bin_borders,
  df,
  distribution = "normal",
  cap = TRUE,
  cap_val = 0
)

Arguments

bin_borders

borders of sampling bins

df

data frame with proxy records

distribution

character, currently only "normal" implemented. Specifies the distribution of proxies

cap

logical. Should values below cap_valbe replaced?

cap_val

numeric. If cap = TRUE, values below cap_valwill be replaced by cap_val

Value

a functional for usage with strat_cont_to_multiadm

See also

flux_const(), flux_linear(), flux_quad() to define tracer fluxes

Examples

if (FALSE) { # \dontrun{
# see this vignette for a use case
vignette("adm_from_trace_cont")
} # }