profilePlot {breakpoint} | R Documentation |
Mean profile plot
Description
Plotting function to obtain mean profile plot of the testing dataset based on the estimates of the break-points. An R object created from the CE.Normal, CE.NB ot CE.ZINB is required. User can alter the axis names.
Usage
profilePlot(obj, data, x.label = "Data Sequence", y.label = "Value")
Arguments
obj |
R object created from CE.Normal, CE.NB or CE.ZINB. |
data |
data to be analysed. A single column array or a dataframe. |
x.label |
x axis label. Default is "Data Sequence". |
y.label |
y axis label. Default is "Value". |
Author(s)
Priyadarshana, W.J.R.M. <mjayawardana@swin.edu.au>
See Also
Examples
data(ch1.GM03563)
## Not run:
## CE with four parameter beta distribution ##
obj1 <- CE.Normal.Mean(ch1.GM03563, distyp = 1, penalty = "mBIC", parallel =TRUE)
profilePlot(obj1)
## CE with truncated normal distribution ##
obj2 <- CE.Normal.Mean(ch1.GM03563, distyp = 2, penalty = "mBIC", parallel =TRUE)
profilePlot(obj2)
## End(Not run)
[Package breakpoint version 1.2 Index]