MAdensity_plot | R Documentation |
Create a density plot from a model averaged model fit with MCMC.
MAdensity_plot(A)
A |
the model averaged model to plot |
Returns a ggplot2
graphics object.
doses <- cbind(c(0,25,50,100,200)) y <- cbind(c(6,5.2,2.4,1.1,0.75), c(20,20,19,20,20), c(1.2,1.1,0.81,0.74,0.66)) model <- ma_continuous_fit(doses,y, fit_type = "mcmc",BMD_TYPE = 'sd',BMR = 1) MAdensity_plot(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.