geomean.fun: Calculate 'geomean'

View source: R/GSOFunc_geomean-fun.R

geomean.funR Documentation

Calculate 'geomean'

Description

Calculate 'geomean'

Usage

geomean.fun(x, spp)

Arguments

x

a list/column, e.g. run$solution,

spp

a data.frame, usually data or option data.frame

Details

Internal GSO function. Used within Scenarios() and gso() calculates 'geomean', the original objective. It is scaled by number of spp

The geomean objective, constraints (and corresponding gradients) all take the same set of extra arguments.

Value

returns a single value (exponential of the summed log of each row * x, divided by no. spp)


nevilamos/FAMEFMR documentation built on April 17, 2025, 9:32 p.m.