makeplot {chartreview}R Documentation

Generate plots on confidence intervals and prediction

Description

Generate plots on confidence intervals and prediction

Usage

makeplot(
  dataset2,
  dat2,
  optionCI = 1,
  stopCI = NULL,
  alpha = 0.05,
  stoppingoption = 2,
  xlim = NULL,
  ylim = NULL,
  main = NULL,
  makePlot = TRUE
)

Arguments

dataset2

The output dataset of the function 'fullrun'.

dat2

Second dataset on which confidence intervals are computed, see function 'fullrun'.

optionCI

Parameter to switch between confidence intervals (1 for Lai's confidence bands, 2 for Bayesian credible intervals, 3 for normal confidence intervals).

stopCI

The stopping bounds.

alpha

The error used to compute confidence bands.

stoppingoption

Type of stopping criterion (1 for confidence interval included in stopCI, 2 for upper bound below or lower bound above stopCI, 3 for length restriction on confidence interval).

xlim

Optional parameter to set x-axis in plots.

ylim

Optional parameter to set y-axis in plots.

main

Optional parameter to set title of plots.

makePlot

Parameter to control plot output.

Value

List with confidence intervals (slot CIs), the stopping point (slot stopline), and the reason for stopping (stopreason, see function 'stoppingcriterion').

References

.

Examples

require(chartreview)


[Package chartreview version 1.0 Index]