Description Usage Arguments Value Examples
Plot methods for S4 objects returned by mrc
. The plot produced depends on the type of the
S4 object.
For objects produced by mrc
a heatmap of the data is displayed along with the location of the univariate changepoints (yellow), most recent univariate changepoints (green),
and most recent multivariate changepoint locations (red).
A number of arguments with default values are provided to control aspects of how the data and changepoint locations are displayed. The plot methods return a ggplot2 object which can be modified if required.
1 2 |
x |
An S4 class returned by |
p |
Integer value indicating the number of most recent changepoint locations to consider. The minimum value is 1 and the maximum value is the value of |
group |
Logical value used to indicate if the variates that share a most recent changepoint should be grouped together in the plot. Default is |
display.variable.names |
Logical value. If |
show |
Logical value used to indicate if the plot should be displayed (the ggplot object produced by plot is always invisibly returned). Default value is |
Invisibly returns a ggplot object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Loading required package: gridExtra
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.