integrated_predictor: create integrated predictor objects

Description Usage Arguments Details Value Examples

Description

integrated_predictor defines a data object containing predictor data that can be passed to an integrated_data constructor.

Usage

1
2
3
4
5
6
7
8
9
add_predictors(formula, data)

is.integrated_predictor(object)

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

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

Arguments

formula

formula specifying the predictor structure (see lmer for details)

data

a single data input (see details for descriptions of possible input types)

object

an integrated_data object

x

an integrated_data object

...

additional arguments to print and summary methods (currently ignored)

Details

Add something.

Value

An object of class integrated_predictor, which contains information on predictors and can be passed to an integrated_data constructor.

Examples

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

library(integrated)

# prepare an example model
data <- add_data()
                        
# summarise data module
model
summary(model)
plot(model)

## End(Not run)

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