strip {extRemes} | R Documentation |
Strip Fitted EVD Object of Everything but the Parameter Estimates
Description
Take any fevd object, regardless of estimation method, and return only a vector of the estimated parameters.
Usage
strip(x, use.names = TRUE, ...)
## S3 method for class 'fevd'
strip(x, use.names = TRUE, ...)
Arguments
x |
An object of class “fevd”. |
use.names |
logical stating whether or not to keep the names attribute |
... |
For the Bayesian method, if an alternative function to taking the mean or posterior mode of the MCMC samples is used, then optional arguments may be passed. Otherwise, not used. |
Details
This function is very similar to distill
, but returns less information.
Value
numeric vector with the parameter estimates.
Author(s)
Eric Gilleland
See Also
Examples
z <- revd(100, loc=20, scale=0.5, shape=-0.2)
fit <- fevd(z)
fit
strip( fit )
strip( fit, use.names = FALSE )
# Compare with ...
distill( fit )
distill( fit, cov = FALSE )
## Not run:
data( "Fort" )
fit <- fevd(Prec, Fort, threshold=0.395,
scale.fun=~sin(2 * pi * (year - 1900)/365.25) +
cos(2 * pi * (year - 1900)/365.25),
type="PP", method="Bayesian", iter=1999, use.phi=TRUE, verbose=TRUE)
fit
strip( fit )
strip( fit, burn.in = 700 )
strip( fit, FUN = "postmode" )
## End(Not run)
[Package extRemes version 2.1-4 Index]