Skip to contents

Autoplot an object with call "GEVBayes0".

Usage

# S3 method for GEVBayes0
autoplot(
  object,
  which = "RL",
  level = 0.7,
  points = c("p", "none"),
  a = 0.5,
  xVar = c("T", "p"),
  trace = 0,
  ...
)

Arguments

object

An object with class "GEVBayes0" describing inference results for a GEV model.

which

Not used yet. Could in the future define the type of plot to build. For now only the RL plot is available.

level

The level of confidence to display.

points

The plotting positions to use to show the points if the object has data shiipped with it. The value "H" corresponds to the H-points or Nelson's plotting positions and the value "p" correponds to the p-points of the ppoints function. See RP.potData in the package potomax.

a

Value of the argument a of the ppoints function if points is "p". It will be ignored otherwise.

xVar

The variable to be mapped to the \(x\) axis. The value "T" corresponds to a period: a multiple of the block duration attached to the object. The value "p" corresponds to an exccedance probability related to the block duration. The relation between the two is simply \(p = 1 / T\).

trace

Integer level of verbosity.

...

Further arguments passed to RL.

Value

An object with class "gg" inheriting from

"ggplot" which is typically used through the

print method.