plot | R Documentation |
Plot methods for an S4 object returned by crops
. The plot can also be combined with the original data if required.
## S4 method for signature 'crops.class,data.frame' plot(x, y) ## S4 method for signature 'crops.class,missing' plot(x)
x |
An instance of an S4 class produced by |
y |
A dataframe containing the locations and values of the data points. The data plot is plotted below, and is aligned with, the changepoint locations. |
A ggplot object. Note - if no changepoints are detected in the penalty interval [beta_min,beta_max], then the value returned is NULL.
crops
.
# see the crops example # see the crops example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.