R/eib_legend_base.R

Defines functions eib_legend_base

#'
eib_legend_base <- function(he, graph_params) {
  
  list(x = where_legend(he, graph_params$pos),
       legend = paste0(he$interventions[he$ref], " vs ",
                       he$interventions[he$comp]),
       cex = 0.7,
       bty = "n",
       lwd = graph_params$line$lwd,
       col = graph_params$line$color,
       lty = graph_params$line$type)
}

Try the BCEA package in your browser

Any scripts or data that you put into this service are public.

BCEA documentation built on Nov. 25, 2023, 5:08 p.m.