strip | R Documentation |
Take any fevd object, regardless of estimation method, and return only a vector of the estimated parameters.
strip(x, use.names = TRUE, ...)
## S3 method for class 'fevd'
strip(x, use.names = TRUE, ...)
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. |
This function is very similar to distill
, but returns less information.
numeric vector with the parameter estimates.
Eric Gilleland
distill.fevd
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.