CalcForageDistFit: Calculate the fit of the simulated forage distance...

Description Usage Arguments Details Value References

Description

Calculate fit between the simulated forage distance distribution to the observed forage distance distribution based on the sum of standardized squared errors (SSSE, Frank & Baret 2013) or 1 minus the least squares difference.

Usage

1
2
CalcForageDistFit(Sim = NULL, Obs = NULL, species = NULL,
  measure = NULL)

Arguments

Sim

data.table A data.table distances calculated by CalcDistToRoosts

Obs

data.table Same as Sim but field observations.

species

character Either Barnacle, Pinkfoot or Greylag.

measure

character Either LS or SSSE

Details

The fit is based on the proportions of the forage distances falling into each bin of 10 The fit is measured over the entire season.

Value

numeric The calculated fit.

References

Frank, B. M. and P. V. Baret (2013). "Simulating brown trout demogenetics in a river/nursery brook system: The individual-based model DemGenTrout." Ecological Modelling 248: 184-202.


LDalby/ralmass documentation built on May 8, 2019, 5:48 p.m.