Function to identify the available plot types of an object.
getAvailablePlotTypes(
obj,
output = c("numeric", "caption", "numcap", "capnum"),
numberInCaptionEnabled = FALSE
)
The object for which the plot types shall be identified, e.g. produced by
getDesignGroupSequential
or getSampleSizeMeans
.
The output type. Can be one of c("numeric", "caption", "numcap", "capnum")
.
If TRUE
, the number will be added to the
caption, default is FALSE
.
output
:
numeric
: numeric output
caption
: caption as character output
numcap
: list with number and caption
capnum
: list with caption and number