From 6cb1309fcd0539e99acddf3313d2d87f97208c35 Mon Sep 17 00:00:00 2001 From: Paul Buerkner Date: Wed, 13 Nov 2019 10:01:43 +0200 Subject: [PATCH] summarise_draws: assign output class #47 --- R/summarise_draws.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/summarise_draws.R b/R/summarise_draws.R index 8c7fdf3d..1f93da9b 100644 --- a/R/summarise_draws.R +++ b/R/summarise_draws.R @@ -111,6 +111,7 @@ summarise_draws.draws <- function(x, } out$variable <- variables out <- move_to_start(out, "variable") + class(out) <- c("draws_summary", class(out)) out }