import(stats, utils)
importFrom(boot, boot, boot.ci)

export(
    arpr,
    arpt,
    calibVars,
    calibWeights,
    eqInc,
    eqSS,
    fitPareto,
    gini,
    incMean,
    incMedian,
    incQuintile,
    is.indicator,
    is.arpr,
    is.qsr,
    is.rmpg,
    is.gini,
    is.indicator,
    bootVar,
    meanExcessPlot,
    minAMSE,
    paretoQPlot,
    paretoScale,
    paretoTail,
    qsr,
    replaceOut,
    replaceTail,
    reweightOut,
    rmpg,
    thetaHill,
    thetaISE,
    thetaLS,
    thetaQQ,
    thetaMoment,
    thetaPDC,
    thetaTM,
    thetaWML,
    variance,
    weightedMean,
    weightedMedian,
    weightedQuantile
)

## register methods for S3 generics defined in this package
# bootstrap variance
S3method(bootVar, indicator)
S3method(calibVars, default)
S3method(calibVars, matrix)
S3method(calibVars, data.frame)
#S3method(replaceOut, paretoTail)
S3method(replaceTail, paretoTail)
S3method(reweightOut, paretoTail)

## register methods for existing S3 generics
# print
S3method(print, indicator)
S3method(print, arpr)
S3method(print, rmpg)
S3method(print, minAMSE)
S3method(print, paretoScale)
S3method(print, paretoTail)
## plot
#S3method(plot, arpr)
# subset
S3method(subset, indicator)
S3method(subset, arpr)
S3method(subset, rmpg)
