Coerce a fevd
object from the exRemes package into a
NSGEV
object.
# S3 method for class 'fevd'
as.NSGEV(x, ...)
Arguments
- x
The object to be coerced. Must have class "fevd"
and
be of type "GEV"
.
- ...
Not used yet.
Value
An object with class "NSGEV"
.
Caution
For now, only simple formulas can be used.
Examples
require(extRemes)
## see the examples for extRemes::fevd.
data(PORTw)
## fit a GEV model
fit <- fevd(x = TMX1, data = PORTw,
location.fun = ~AOindex, scale.fun = ~AOindex,
units = "deg C")
## coerce
ns <- as.NSGEV(fit)