Learn R Programming

ToxicR (version 22.12.1.0.7)

cleveland_plot: cleveland_plot - Create a Cleveland plot from a model averaged model.

Description

Create a Cleveland plot from a model averaged model.

Usage

cleveland_plot(A)

Value

Returns a ggplot2 graphics object.

Arguments

A

the model averaged model to plot

Examples

Run this code
# \donttest{ 
mData <- matrix(c(0, 2,50,
                  1, 2,50,
                  3, 10, 50,
                  16, 18,50,
                  32, 18,50,
                  33, 17,50),nrow=6,ncol=3,byrow=TRUE)
D <- mData[,1]
Y <- mData[,2]
N <- mData[,3]

model = ma_dichotomous_fit(D,Y,N)
cleveland_plot(model)
# }

Run the code above in your browser using DataLab