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