plot.beast.object {beast} | R Documentation |
Plot function
Description
This function plots objects returned by the beast
function. All output is diverted to a pdf file provided in the fileName
argument.
Usage
## S3 method for class 'beast.object'
plot(x, fileName, width, height, pointsize, ylab, xlab, timeScale, myPal, boxwex, ...)
Arguments
x |
An object of class |
fileName |
Name of the output pdf file. |
width |
Width of pdf file. Default: 9 |
height |
Height pdf file. Default: 6 |
pointsize |
Pointsize. Default: 12 |
ylab |
|
xlab |
|
timeScale |
A multiplicative-factor which will be used to scale the |
myPal |
Vector of colors that will be used to produce the plot with all time-series overlayed. If the distinct values of the inferred numbers of change-points is less than 10, the |
boxwex |
A scale factor to be applied to all boxes. The appearance of the plot can be improved by making the boxes narrower or wider. Default: 0.2. |
... |
ignored. |
Details
The function will produce a plot with all time-series coloured according to the corresponding number of change-points. In addition, it will generate individual plots per time-series displaying the observed data with boxplots which summarize the posterior distribution of change-points locations, conditionally on the most probable number of change-points.
Author(s)
Panagiotis Papastamoulis