Plot function pour robber class
# S3 method for robber
plot(x, type = "function", add = FALSE, ...)
An object of class robber
Type of the plot, just function
Whether it should be added to a previous ggplot
lty
, col
, ... to be passed to geom_step()
in
ggplot2
A ggplot2
object
data("hostparasite", package = "robber")
rob <- robustness_emp(hostparasite)
plot(rob)
#> Registered S3 method overwritten by 'lava':
#> method from
#> print.equivalence partitions