get_value: Get a value from an S3 object

Description Usage Arguments Examples

View source: R/generics.R

Description

Get a value from an S3 object

Usage

1

Arguments

x

object with a get_value() method

var

string. name of the value to retrieve from the object.

Examples

1
2
3
4
5
data("directors")
fit <- blm("Compensation ~ Age", data=directors) %>%
   sample_posterior()
# Get DIC and print
fit %>% get_value("DIC") %>% summary()

JasperHG90/blm documentation built on Sept. 4, 2019, 11:16 a.m.