plot.elife_northropcoleman: P-value plot for Northrop and Coleman diagnostic

View source: R/northrop.R

autoplot.elife_northropcolemanR Documentation

P-value plot for Northrop and Coleman diagnostic

Description

The Northrop-Coleman tests for penultimate models are comparing the piece-wise generalized Pareto distribution to the generalized Pareto above the lower threshold.

Usage

autoplot.elife_northropcoleman(object, ...)

## S3 method for class 'elife_northropcoleman'
plot(x, plot.type = c("base", "ggplot"), plot = TRUE, ...)

Arguments

object

object of class elife_northropcoleman, with the fitted piecewise-constant generalized Pareto model

...

additional arguments for base plot

x

an object of class elife_northropcoleman

plot.type

string indicating the type of plot

plot

logical; should the routine print the graph if plot.type equals "ggplot"? Default to TRUE.

Value

a base R or ggplot object with p-values for the Northrop-Coleman test against thresholds.


longevity documentation built on June 8, 2025, 10:31 a.m.