integrated_model: create integrated model objects

Description Usage Arguments Details Value Examples

View source: R/integrated_model-class.R

Description

An integrated_model object combines multiple integrated_data objects with one or more integrated_process objects and returns all greta_array objects required to fit an integrated population model. Model fitting is handled separately with the model and mcmc functions.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
integrated_model(...)

is.integrated_model(object)

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

## S3 method for class 'integrated_model'
plot(x, y, ...)

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

Arguments

...

one or more integrated_data objects

object

an integrated_model object

x

an integrated_model object

process

an integrated_process object

Details

something

Value

A named list of greta_array objects, which can be passed to model. This list has associated 'print', 'plot', and 'summary' methods.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 

### ADD EXAMPLES OF ALL FUNCTIONS HERE

library(integrated)

# prepare an example model
model <- integrated_model()
                        
# summarise fitted model
model
summary(model)
plot(model)

## End(Not run)

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