meanTraitFunc: calculate the mean trait at the end of the model run
Description
calculate the mean trait at the end of the model run
Usage
meanTraitFunc(out, trait.name, gname, resource.name, path)
Arguments
out
Output from microPopModel()
trait.name
can be 'halfSat','yield','maxGrowthRate' and 'pHtrait' or 'strainpHcorners'