We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c7b590 + 3c94b0a commit 4764381Copy full SHA for 4764381
R/pmcmc_utils.R
@@ -55,9 +55,6 @@ sample_pmcmc <- function(pmcmc_results,
55
res <- pmcmc_results$results
56
}
57
58
- # Log Posterior must be negative and nonzero -- the later because the posterior should never be P(1)
59
- assert_neg(res$log_posterior, zero_allowed = FALSE)
60
-
61
# convert to probability by exponentiating it
62
res <- unique(res)
63
probs <- exp(res$log_posterior)
0 commit comments