Calculate a flux ensemble

calculateFlux(
  L,
  sed.rate.ens = "sedimentationRate",
  sed.rate.age = "ageEnsemble",
  sed.rate.table.num = 1,
  sed.rate.table.type = "ensemble",
  density.var = "WBD",
  density.var.age = "ageEnsemble",
  density.table.num = 1,
  density.table.type = "measurement",
  concentration.var = "RABD",
  concentration.var.age = "ageEnsemble",
  concentration.table.num = 1,
  concentration.table.type = "measurement",
  out.age.var = "age",
  ens.units = "mass/cm2/yr",
  ens.var.name = "flux",
  bin.step = 100,
  bin.vec = NA
)

Arguments

L

A LiPD object

sed.rate.ens

sedimentation rate ensemble (potentially from createSedRateEnsemble())

sed.rate.age

age ensemble that corresponds to sed.rate.ens

sed.rate.table.num

table number for sed rate ensemble

sed.rate.table.type

table type for sed rate ensemble

density.var

name of the density variable

density.var.age

age variable that corresponds to density

density.table.num

table number for density

density.table.type

table type for density

concentration.var

name of the concentration variable

concentration.var.age

age variable that corresponds to concentration

concentration.table.num

table number for concentration

concentration.table.type

name of the concentration variable

out.age.var

What is the output age variable (e.g., age or ageEnsemble)

ens.units

What are the output units (default is "mass/cm2/yr")

ens.var.name

What is the output variable name (default = "flux")

bin.step

What timestep are you calculating flux over?

bin.vec

Optionall specify a vector to calculate flux over

Value

A LiPD object