| GParetoParameter-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("GParetoParameter", ...).
Slots
locreal number: location parameter of a generalized Pareto distribution.
scalereal number: scale parameter of a generalized Pareto distribution.
shapereal number: shape parameter of a generalized Pareto distribution.
namedefault name is “parameter of a GPareto distribution”.
Extends
Class "Parameter", directly.
Class "OptionalParameter", by class "Parameter".
Methods
- loc
signature(object = "GParetoParameter"): access method for slotloc.- location
signature(object = "GParetoParameter"): alias toloc, to support argument naming of package VGAM.- scale
signature(object = "GParetoParameter"): access method for slotscale.- shape
signature(object = "GParetoParameter"): access method for slotshape.- loc<-
signature(object = "GParetoParameter"): replace method for slotloc.- location<-
signature(object = "GParetoParameter"): alias toloc<-, to support argument naming of package VGAM.- shape<-
signature(object = "GParetoParameter"): replace method for slotshape.- shape<-
signature(object = "GParetoParameter"): replace method for slotshape.
Author(s)
Nataliya Horbenko nhorbenko@gmail.com
See Also
GPareto-class, Parameter-class
Examples
P <- new("GParetoParameter")
loc(P)
## same as
location(P)
scale(P)
shape(P)
scale(P) <- 2
loc(P) <- -5
shape(P) <- -1 # may be negative
P