Skip to contents

Summary and print methods for observation models

Usage

# S3 method for class 'bru_like'
summary(object, verbose = TRUE, ...)

# S3 method for class 'bru_like_list'
summary(object, verbose = TRUE, ...)

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

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

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

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

Arguments

object

Object to operate on

verbose

logical; If TRUE, include more details of the component definitions. If FALSE, only show basic component definition information. Default: TRUE

...

Arguments passed on to other summary methods

x

Object to be printed

See also

Examples

obs <- like(y ~ ., data = data.frame(y = rnorm(10)))
summary(obs)
#>   Family: 'gaussian'
#>     Tag: ''
#>     Data class: 'data.frame'
#>     Response class: 'numeric'
#>     Predictor: y ~ .
#>     Used components: effects[<not yet initialised>], latent[]
print(obs)
#>   Family: 'gaussian'
#>     Tag: ''
#>     Data class: 'data.frame'
#>     Response class: 'numeric'
#>     Predictor: y ~ .
#>     Used components: effects[<not yet initialised>], latent[]