GAMestimate: Estimate the pup production using GAMs

Description Usage Arguments Value Examples

View source: R/functions.r

Description

Estimate the pup production using GAMs

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
GAMestimate(
  harpcounts = NA,
  hoodedcounts = NA,
  area,
  xycord,
  transect,
  population = c("harp", "hood"),
  distr = "negbin",
  Spacing = 3,
  ds = 0.1,
  plotMesh = TRUE,
  grDev = FALSE,
  grWidth = 11,
  grHeight = 7
)

Arguments

harpcounts

The data set with photo counts of harp seals

hoodedcounts

The data set with photo counts of harp seals

area

Define the area used for estimating the abundance

transect

Vector containing the transect each photo comes from

population

Specify which population or populations to estimate the abundance

distr

Distance threshold for length if flown over open water

ds

Resolution of the grid to estimate the GAM surface

grDev

Logical parameter to turn on and off wether to plot the results in a graphical device

Value

A list containing the estimates obtained by the GAM method

Examples

1

NorskRegnesentral/pupR documentation built on Sept. 17, 2020, 5:52 p.m.