integrated_data: An integrated data object

Description Usage Arguments Details Value Examples

Description

integrated_data defines a data object with appropriate likelihood based on a process model defined with integrated_process

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
integrated_data(data, integrated_process, process_link,
  observation_model = "naive", settings = list())

is.integrated_data(model)

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

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

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

Arguments

data

something

integrated_process

something

process_link

something

observation_model

something else

settings

a named list of settings passed to data formatting functions (see details)

...

additional arguments

Details

Do something. The settings list can be used to specify how the data are binned, either with specific breaks for binning or with the number of breaks to use. If these are not provided, the functions use the classes argument in the integrated_process to determine the number of bins (nbreaks = classes + 1).

Value

An object of class integrated_data, which contains information on the data module and can be passed to integrated_model

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
library(integrated)

# prepare an example model
data <- integrated_data()
                        
## Not run:                  
# summarise data module
model
summary(model)
plot(model)

## End(Not run)

# check if an object is an integrated_data object
  
## Not run: 
is.integrated_data(model)

## End(Not run)

# Print information about an 'integrated_data' object

## Not run: 
print(x)

## End(Not run)

# Plot an 'integrated_data' object

## Not run: 
plot(x)

## End(Not run)

# Summarise an 'integrated_data' object

## Not run: 
summary(x)

## End(Not run)

jdyen/integrated.pkg documentation built on May 7, 2019, 8:44 a.m.