Description Usage Arguments Value Examples
View source: R/fit_BiasedDrift.R
plotPosterior_Pr
will plot posterior plots using the MCMC chains.
1 | plotPosterior_Pr(fit_vals)
|
fit_vals |
list produced by fitBiasedDrift containing amongst other things the MCMC chains. |
Return ggplot object with posterior plots.
1 2 3 4 5 6 7 | time_points = c(4, 7, 10, 14, 21)
WT_params = list(lambda = 0.1, N = 5, tau = 1)
x = simulateBiasedDriftData(WT_params$lambda, WT_params$N, WT_params$tau, Pr = 0.7, time_points, 8, 300)
fit_out = fitBiasedDrift(x, time_points, WT_params)
plotsConvergence_Biased(fit_out)
plotPosterior_Pr(fit_out)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.