strat_cont_gen_from_tracer {admtools}R Documentation

proxy values in strat domain

Description

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

## Not run: 
# see this vignette for a use case
vignette("adm_from_trace_cont")

## End(Not run)

[Package admtools version 0.2.0 Index]