Learn R Programming

hadron (version 3.1.2)

weight_shift_reweight.cf: Weight-shift-reweight a correlation function

Description

The correlation function is weighted with weight.cf, then shifted, and then weighted again with the inverse weighting factor.

Usage

weight_shift_reweight.cf(cf, energy_difference_val, energy_difference_boot,
  cosh_factor)

Arguments

cf

cf_orig and possibly cf_boot object.

energy_difference_val

numeric. A single energy value \(\Delta E\) for the weighting.

energy_difference_boot

numeric vector. Samples for the energy difference value.

cosh_factor

integer, either +1 or -1. Determines the sign $c$ in the weight factor.

Value

Returns an object of class cf, see cf.