MAdensity_plot: MAdensity_plot - Create a density plot from a model averaged...

MAdensity_plotR Documentation

MAdensity_plot - Create a density plot from a model averaged model.

Description

Create a density plot from a model averaged model fit with MCMC.

Usage

MAdensity_plot(A)

Arguments

A

the model averaged model to plot

Value

Returns a ggplot2 graphics object.

Examples


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)


ToxicR documentation built on Dec. 28, 2022, 3:07 a.m.