createOccPois: createOccPois

Description Usage Arguments

Description

Creates a lambda of species counts (for use in a Poisson draw) based on explanatory factors. The levels are calculated additively with a fylke effect, a kommune effect, plus a random part (sigma) that determines the intra-kommune variation among grid cells. This is intended to fill a "map" with values of occurrences, and expects columns named fylke and kommune.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
createOccPois(map, intercept = 22, formula = ~NULL, sigmaFylke = 0.1,
  sigmaKommune = 0.1, sigmaGrid = 0, sigmaFylkeTrend = 0,
  sigmaKommuneTrend = 0, artypeEff = c(Bebygd = 1, Samferdsel = 1,
  `Fulldyrka jord` = 1, `Overflatedyrka jord` = 1, Innmarksbeite = 1, Skog
  = 1, `Åpen fastmark` = 1, Myr = 1, Isbre = 1, Ferskvann = 1, Hav = 1,
  `Ikke kartlagt` = 1), artypeTrend = c(Bebygd = 1, Samferdsel = 1,
  `Fulldyrka jord` = 1, `Overflatedyrka jord` = 1, Innmarksbeite = 1, Skog
  = 1, `Åpen fastmark` = 1, Myr = 1, Isbre = 1, Ferskvann = 1, Hav = 1,
  `Ikke kartlagt` = 1), nYears = 5, interceptTrend = 0.95,
  sdInterceptTrend = 0, sortFylke = T, sortKommune = T,
  sortGrid = T)

Arguments

formula

Not yet implemented

sigmaFylke

Standard deviance of fylkes

artypeEff

Note that all parameters are input on the original scale (easier than using log scale)

sigmaFylke

Standard deviance of kommunes.

sigmaFylke

Standard deviance of grids.


NINAnor/SurveyPower documentation built on May 7, 2019, 10:43 p.m.