plot.blockcpd | R Documentation |
Plots the selected parameters in a blocked fashion.
## S3 method for class 'blockcpd' plot( x, ..., parameter = NULL, index_values = NULL, index_variable_name = "Index", pkg = "base" )
x |
A fitted blockcpd S3 object provided by the fit_blockcpd function. |
... |
Other parameters |
parameter |
The parameter of the family for which to plot the blocked |
index_values |
A numerical vector of size ncol that contains the values of the the variable corresponding to the change points. For example, if your segmented variable corresponds to a time samples from 0 to 150 sampled each 15 seconds, the model treats these as values from 1 to 11. To plot on the variable scale, pass the argument 'index_values = seq(0, 150, 15)'. |
index_variable_name |
Name of the variable segmented. |
pkg |
Graphical package to be used for plotting. Current values are "base". |
No return value.
plot(fit_blockcpd(c(1,2,3, 4), family = "exponential", lambda = 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.