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, ...)
Examples
obs <- like(y ~ ., data = data.frame(y = rnorm(10)))
summary(obs)
#> Family: 'gaussian'
#> Data class: 'data.frame'
#> Response class: 'numeric'
#> Predictor: y ~ .
#> Used components: effects[], latent[]
print(obs)
#> Family: 'gaussian'
#> Data class: 'data.frame'
#> Response class: 'numeric'
#> Predictor: y ~ .
#> Used components: effects[], latent[]