Skip to content

Commit fed0c43

Browse files
authored
gives consistent order to the parameters
1 parent d6fde22 commit fed0c43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/mcmc-recover.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ mcmc_recover_hist <-
315315

316316
vline_data <- data.frame(Parameter = colnames(x), True = true)
317317
hist_data <- melt_mcmc(x)[, -1]
318+
vline_data$Parameter <- factor(vline_data$Parameter, levels = levels(hist_data$Parameter))
318319

319320
facet_args[["facets"]] <- "Parameter"
320321
facet_args[["scales"]] <- facet_args[["scales"]] %||% "free"

0 commit comments

Comments
 (0)