Learn R Programming

extremefit (version 1.0.2)

plot.hill: Hill plot

Description

Graphical representation of the hill estimator.

Usage

# S3 method for hill
plot(x, xaxis = "ranks", ...)

Arguments

x

output object of the function hill.

xaxis

either "ranks" or "xsort".

...

further arguments passed to or from other methods.

Details

If xaxis="ranks", the function draws the Hill estimators for each ranks of the grid output of the function hill. If xaxis="xsort", the function draws the Hill estimators for each data of the grid output of the function hill.

See Also

hill

Examples

Run this code
# NOT RUN {
x <- abs(rcauchy(100))
hh <- hill(x)
par(mfrow = c(2, 1))
plot(hh, xaxis = "ranks")
plot(hh, xaxis = "xsort")

# }

Run the code above in your browser using DataLab