Learn R Programming

admtools (version 0.4.0)

strat_cont_gen_from_tracer: 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
)

Value

a functional for usage with strat_cont_to_multiadm

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

See Also

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

Examples

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

Run the code above in your browser using DataLab