Skip to content

Commit

Permalink
Merge pull request #265 from bnicenboim/master
Browse files Browse the repository at this point in the history
fixes #264 (wrong order of the parameters in mcmc_recover_hist)
  • Loading branch information
jgabry authored Oct 1, 2021
2 parents 7c4a1f7 + fed0c43 commit 60edc5a
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 60edc5a

Please sign in to comment.