flux_linear {admtools}R Documentation

linear deterministic tracer flux

Description

For usage with strat_cont_to_multiadm : defines linear tracer flux in the time domain Tracer flux is the linear function passing through the points (x0, y0) and (x1, y1)

Usage

flux_linear(x0 = 0, y0 = 1, x1 = 1, y1 = 2)

Arguments

x0

numeric, abscissa

y0

numeric, ordinate

x1

numeric, abscissa

y1

numeric, ordinate

Value

a function factory that takes no arguments. Upon each evaluation, it returns a linear function passing through the points (x0, y0) and (x1, y1)

See Also

flux_const(), flux_quad(), strat_cont_gen_from_tracer()


[Package admtools version 0.2.0 Index]