A function to extract graphical parameters from a fpShapesGp object
prGetShapeGp(
shapes_gp,
coords,
object,
default = grid::gpar(),
nodefault = FALSE
)
An object of class fpShapesGp
specifying all graphical parameters
A numeric vector of length 2, specifying the label number (first item of the vector)
and the confidence band number within this label ; that can be >= 2 if there are multiple confidence
bands per label. Can be NULL for objects that are used only once (e.g. axes).
Vector coords
must have an R attribute max.coords
as numeric vector of length 2
specifying the total number of labels
and number of confidence bands by label for the forest plot.
The first coordinate specify the label number and the second coordinate (for multi-band forest plots)
specifies the band number within the label.
One of "box"
, "lines"
, "vertices"
, "summary"
, "zero"
,
"axes"
, "hrz_lines"
or "grid"
, refering to the object for which the
graphical parameters are requested.
Default attributes to rely on when neither found in shapes_gp$object
nor in shapes_gp$default
Logical. If TRUE, do not search attribute in shapes_gp$default
An object of class gpar