plot.robber {robber}R Documentation

Plot function pour robber class

Description

Plot function pour robber class

Usage

## S3 method for class 'robber'
plot(x, type = "function", add = FALSE, ...)

Arguments

x

An object of class robber

type

Type of the plot, just function

add

Whether it should be added to a previous ggplot

...

lty, col, ... to be passed to geom_step() in ggplot2

Value

A ggplot2 object

Examples

data("hostparasite", package = "robber")
rob <- robustness_emp(hostparasite)
plot(rob)

[Package robber version 0.2.4 Index]