plot.OBREresult: Function that plot an OBREresult object.

View source: R/plot.OBREresult.R

plot.OBREresultR 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)})


OBRE documentation built on July 9, 2023, 5:53 p.m.

Related to plot.OBREresult in OBRE...