plot.elife_northropcoleman {longevity}R Documentation

P-value plot

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

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

Arguments

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.

...

additional arguments for base plot

Value

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


[Package longevity version 1.0.0 Index]