meanTraitFunc function

calculate the mean trait at the end of the model run

calculate the mean trait at the end of the model run

meanTraitFunc(out, trait.name, gname, resource.name, path)

Arguments

  • out: Output from microPopModel()
  • trait.name: can be 'halfSat','yield','maxGrowthRate' and 'pHtrait' or 'strainpHcorners'
  • gname: name of group or microbe
  • resource.name: String
  • path: String