mean.gam: mean.gam

Description Usage Arguments Details Value

Description

mean.gam compute estimated value from vector of Gamma distribution

Usage

1
2
## S3 method for class 'gam'
mean(x, area)

Arguments

x

a vector containing observations, e.g. game densities

area

a vector containing areas of each drives in ha

Details

mean.gam(x, area)

Function computes expected value and multiply by percent of area where species was observed. In case of n<2, weighted mean is used instead.Here will be described how it works TBA

Value

value

estimated value computed from vector with Gamma distribution using eGammaAlt from EnvStats package


mkdyderski/gamemanageR documentation built on May 23, 2019, 1:06 a.m.