plot.elife_northropcoleman: P-value plot

View source: R/northrop.R

plot.elife_northropcolemanR 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.


longevity documentation built on Nov. 12, 2023, 5:07 p.m.