calc_relativeFitness function

This is a function to calculate the relative fitness for a vector of fitnesses. As a frame of reference it can use either an ancestral fitness value or the mean fitness of the passed vector. If the frame of reference is a value of zero - OR - the func_absDistance is set to TRUE then instead the vector is centered around a value of 1 where negative values will be set to zero.

  • Maintainer: Jonathan Dench
  • License: GPL-3
  • Last published: 2019-07-19

Useful links