| GEVParameter-class {RobExtremes} | R Documentation |
Parameter of generalized Pareto distributions
Description
The class of the parameter of generalized Pareto distribution.
Objects from the Class
Objects can be created by calls of the form new("GEVParameter", ...).
Slots
locreal number: location parameter of a GEV distribution.
scalereal number: scale parameter of a GEV distribution.
shapereal number: shape parameter of a GEV distribution.
namedefault name is “parameter of a GEV distribution”.
Extends
Class "Parameter", directly.
Class "OptionalParameter", by class "Parameter".
Methods
- loc
signature(object = "GEVParameter"): access method for slotloc.- location
signature(object = "GEVParameter"): alias toloc, to support argument naming of package VGAM.- scale
signature(object = "GEVParameter"): access method for slotscale.- shape
signature(object = "GEVParameter"): access method for slotshape.- loc<-
signature(object = "GEVParameter"): replace method for slotloc.- location<-
signature(object = "GEVParameter"): alias toloc<-, to support argument naming of package VGAM.- shape<-
signature(object = "GEVParameter"): replace method for slotshape.- shape<-
signature(object = "GEVParameter"): replace method for slotshape.
Author(s)
Nataliya Horbenko nhorbenko@gmail.com
See Also
Examples
P <- new("GEVParameter")
loc(P)
## same as
location(P)
scale(P)
shape(P)
scale(P) <- 2
location(P) <- 4
shape(P) <- -1 # may be negative!
P