Skip to contents

Plot profile of endpoint

Usage

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

autoplot.elife_profile(object, ...)

Arguments

x

an object of class elife_profile containing information about the profile likelihood, maximum likelihood and grid of values for the endpoint

plot.type

string indicating whether to use base R for plots or ggplot2

plot

logical; if TRUE, creates a plot when plot.type="ggplot". Useful for returning ggplot objects without printing the graphs

...

additional arguments to pass to plot, currently ignored

object

object of class elife_profile

Value

base R or ggplot object for a plot of the profile log likelihood of the endpoint of the generalized Pareto distribution