Learn R Programming

hadron (version 3.1.2)

unsymmetrise.cf: Unfold a correlation function which has been symmetrised

Description

After a symmetric correlation function has been averaged across the central time slice, it is sometimes useful to explicitly duplicate the resulting average to span all cf$Time time slices. This function takes a cf with cf$Time/2+1 time slices and turns it into one with cf$Time time slices by reflecting the correlation function along the cf$Time/2 axis.

Usage

unsymmetrise.cf(cf, sym.vec = c(1))

Arguments

cf

cf object which has been previously symmetrised

sym.vec

Integer vector giving the symmetry properties (see symmetrise.cf) of the original unsymmetrised correlation function. This should be of length cf$nrObs

Value

Returns an object of class cf, which is the unfolded version of the input cf object.