getDensities: Get (estimate) densities by section, river, year based on num...

Description Usage Arguments Value

View source: R/detectionModelFunctions.R

Description

Get (estimate) densities by section, river, year based on num sammples and p from the density model

Usage

1
getDensities(dddd, dd, meanOrIter = "mean", sampleToUse = sampleToUse)

Arguments

dddd

the input data frame for the detection model run

dd

the output data frame for the detection model run

meanOrIter

Whether model run output is the mean ('mean') of all iterations or a single iteration ('iter'). Default is 'mean'.

sampleToUse

if meanOrIter == 'iter', which iteration to use. Assumes use of chain 1.

chainToUse

if meanOrIter == 'iter', which chain to use. Default is chain 1.

Value

a data frame


bletcher/linkedModels documentation built on April 12, 2018, 8:23 p.m.