| plotTypes | R Documentation |
Function to identify the available plot types of an object.
plotTypes(
obj,
output = c("numeric", "caption", "numcap", "capnum"),
numberInCaptionEnabled = FALSE
)
getAvailablePlotTypes(
obj,
output = c("numeric", "caption", "numcap", "capnum"),
numberInCaptionEnabled = FALSE
)
obj |
The object for which the plot types shall be identified, e.g. produced by
|
output |
The output type. Can be one of |
numberInCaptionEnabled |
If |
plotTypes and getAvailablePlotTypes() are equivalent, i.e.,
plotTypes is a short form of getAvailablePlotTypes().
output:
numeric: numeric output
caption: caption as character output
numcap: list with number and caption
capnum: list with caption and number
Returns a list if option is either capnum or numcap
or returns a vector that is of character type for option=caption or
of numeric type for option=numeric.
## Not run:
design <- getDesignInverseNormal(kMax = 2)
getAvailablePlotTypes(design, "numeric")
plotTypes(design, "caption")
getAvailablePlotTypes(design, "numcap")
plotTypes(design, "capnum")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.