Defines functions print.acceptrate

Documented in print.acceptrate

print.acceptrate <-
function(x,digits = max(3, getOption("digits") - 3),...){

cat("Acceptance rate of reversible jump proposals = ",round(x$rj_ar,digits),"% \n")
cat("Acceptance rate of Metropolis-Hastings proposals = ",round(x$mh_ar,digits),"% \n")}

Try the conting package in your browser

Any scripts or data that you put into this service are public.

conting documentation built on Jan. 20, 2018, 9:07 a.m.