# NOT RUN {
require(ggplot2)
# simulated confidence intervals for the null hypotesis of a variable "a"
set.seed(8)
a<-runif(10, -2, 2)
infer <- runif(10, -1, 1)
super <- runif(10, -1, 1)
infer2 <- pmin(infer, super)
super2 <- pmax(infer, super)
data <- data.frame(a, infer2, super2)
forest <- eco.forestplot(data)
forest
# the forestplot method support the use of ggplot2 syntax with ggplot2 graphs
forest <- eco.forestplot(data, interactivePlot = FALSE)
forest <- forest + theme_bw() + theme(legend.position="none")
forest
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab