Skip to content

Commit

Permalink
gives consistent order to the parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
bnicenboim authored Mar 15, 2021
1 parent d6fde22 commit fed0c43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/mcmc-recover.R
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ mcmc_recover_hist <-

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

facet_args[["facets"]] <- "Parameter"
facet_args[["scales"]] <- facet_args[["scales"]] %||% "free"
Expand Down

0 comments on commit fed0c43

Please sign in to comment.