integrated_bias: create integrated bias objects

Description Usage Arguments Details Value Examples

Description

An integrated_bias object contains a bias model that can be shared among multiple components in an integrated population model

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
no_bias()

detection(detection = beta(1, 1))

is.integrated_bias(object)

## S3 method for class 'integrated_bias'
print(x, ...)

## S3 method for class 'integrated_bias'
summary(object, ...)

Arguments

object

an integrated_bias object

x
...

additional arguments to print, summary, and plot methods (currently ignored)

p_detect

parameter of detection model (see details for information on setting prior distributions)

x

an integrated_bias object

Details

Prior distributions can be specified as single-dimensional greta distribution, e.g., normal(0, 1). Link functions and transformations can be specified directly in-line, e.g., ilogit(normal(0, 1)) specifies normal priors with a mean of zero and a standard deviation of one, transformed with an inverse-logit link.

Value

An object of class integrated_bias, which can be used to create integrated_data and integrated_model objects

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

library(integrated)

# a really basic age-structured model with five age classes
process <- leslie(5, density = "none")

# setting custom priors
process <- detection(params = list(abundance = ilogit(normal(0, 1))))

## End(Not run)

jdyen/greta.integrated documentation built on May 3, 2019, 8:04 p.m.