Nothing
#' Diagnostic plots of coalescent vs Yule rates
#'
#' 2x2 panel of `lambda.coal / lambda.div.mod` (trace, log10 trace, histograms).
#' Values near 1 indicate an indistinct threshold and unreliable delimitation.
#' @param x A `"bgmycrates"` object from [checkrates()].
#' @param ... Unused.
#' @return No return value; called for side effects.
#' @export
plot.bgmycrates <- function(x, ...) {
oldpar <- par(no.readonly = TRUE)
on.exit(par(oldpar))
checkratesoutput <- x
par(mfrow = c(2, 2))
plot(log(checkratesoutput[, 5] / checkratesoutput[, 6], base = 10), ylim = c(-1, 3),
xlab = "mcmc samples", ylab = "log(coalescence rate/Yule rate)")
plot((checkratesoutput[, 5] / checkratesoutput[, 6]), ylim = c(-10, 100),
xlab = "mcmc samples", ylab = "coalescence rate/Yule rate")
hist(log(checkratesoutput[, 5] / checkratesoutput[, 6], base = 10), breaks = 20,
xlab = "log(coalescence rate/Yule rate)", main = NULL)
hist((checkratesoutput[, 5] / checkratesoutput[, 6]), breaks = 20,
xlab = "coalescence rate/Yule rate", main = NULL)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.