plot.OBREresult {OBRE} | R Documentation |
Function that plot an OBREresult object.
Description
The function computes the plot of the OBRE computation
Usage
## S3 method for class 'OBREresult'
plot(x, ...)
Arguments
x |
The OBREresult object (output of OBRE function) that has to be plotted. |
... |
Added argument for consistency with the plot generic function. |
Value
A graphical representation of an OBREresult obect. The plot is composed by four plots: the value of input data in logaritmic scale, the values of score function evaluated in the input data, the OBRE weights, the values of OBRE components.
Examples
try({# Generates the Normal distribution input for OBRE
distrForOBRE <- densityExpressions(strDistribution = "normal")
# Generates input data
simData = c(rnorm(100, 12, 1), rnorm(10, 10, 10))
# Estimates OBREresult object
estOBRE = OBRE(nvData = simData, strDistribution = "normal", nCParOBRE = 3)
plot(estOBRE)})
[Package OBRE version 0.2-0 Index]