delete_posterior: Remove the posterior samples from a blm object.

Description Usage Arguments Value Examples

View source: R/generics.R

Description

Generally, there is no good reason to delete the posterior samples. The only situation in which this may occur if the user has already sampled the posterior and wants to change the sampling plan, which is locked after the posterior is sampled.

Usage

1

Arguments

x

blm object

Value

blm object minus posterior samples

Examples

1
2
3
4
5
data("directors")
fit <- blm("Compensation ~ Age", data=directors) %>%
   sample_posterior()
# Delete posterior samples
fit <- fit %>% delete_posterior

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