autoplot
Method for the "poisGPBayes"
S3
Class
autoplot.poisGPBayes0.Rd
Autoplot an object with call "poisGPBayes"
.
Arguments
- object
An object with class
"poisGPBayes"
describing inference results for a Poisson-GP model.- which
The type of plot wanted.
- level
Credible level(s).
- points, a, allPoints
- 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.
Examples
## ========================================================================
## Use the Garonne data from Renext
## ========================================================================
fitBayes <- poisGPBayes(data = Garonne$OTdata$Flow,
threshold = 2500,
effDuration = Garonne$OTinfo$effDuration)
#> Warning: 'threshold' is smaller than the smallest observation
## ========================================================================
## S3 methods: Return Levels, ...
## ========================================================================
RLBayes <- RL(fitBayes)
autoplot(fitBayes) ## nearly the same plot
#> Warning: Since 'data' has class "potData" the formal arguments 'effDuration', 'nOT', 'MAX.*' and 'OTS.*' are ignored
#> Warning: 'threshold' is smaller than the smallest observation
#> Scale for x is already present.
#> Adding another scale for x, which will replace the existing scale.