birthDist: Estimate the temporal distribution of births

Usage Arguments

View source: R/functions.r

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
birthDist(
  harpfname = NA,
  harpLengthStages = c(2.4, 4.42, 11.39),
  harpKappa = 12.4,
  hoodedfname = NA,
  hoodedLengthStages = c(2, 1, 4),
  hoodedKappa = 8.6,
  data = NA,
  survey = NA,
  population = "harp",
  datePhoto = 28,
  Nsim = 10000,
  plotCI = FALSE,
  grDev = FALSE,
  grWidth = 9,
  grHeight = 6
)

Arguments

harpfname

Filename of the harp seal staging data

harpLengthStages

Length of each predefined harp seal stage

harpKappa

A shape parameter defining the duration of each stage

hoodedfname

Filename of the hooded seal staging data

hoodedKappa

A shape parameter defining the duration of each stage

data

Staging data frame containing the colums date and numbers in various stages. See demo data.

survey

Name of the survey to be analyzed

population

Use harp for the harp seal population and hooded for the hooded seal population. Only one population at the time

datePhoto

Date for which the photographic survey was carrie out

Nsim

Number of Monte Carlo simulations used to calculate the 95

\item

plotCIPlot with or without 95

\item

grDevLoad a graphical device

\item

grWidthWidth of graphical window

\item

grHeightHeight of graphical window

\item

hoodedStagesLength of each predefined hooded seal stage returnList A list containing the estimated mean and std of the birth distribution, the estimated proportions of seals on ice at the time of the photographic survey, and the estimated model fits to the observed staging data. Estimating the temporal distribution of births to correct for pups not born yet or have left the ice. It is important to know that both populations cannot be run at the same time. Each population has to be run separately. birtDist()


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