plot.spillover: Plot the Effects of a Targeted Intervention

View source: R/spillover.R

plot.spilloverR Documentation

Plot the Effects of a Targeted Intervention

Description

plot.spillover generates plots illustrating spillovers under different intervention budgets and targeting methods.

Usage

## S3 method for class 'spillover'
plot(x, metric = c("spillover", "outcome"), range, ...)

Arguments

x

An object of class spillover, as returned by spillover.

metric

A character string specifying which metrics should be plotted. Available options are "spillover", "gain", "outcome", or any combination of these.

range

A vector of integer indices indicating the ranks to be considered.

...

Further arguments passed to or from other methods.

Value

This function is called for its side effect of producing a plot. It does not return a value.


AsyPeer documentation built on Nov. 2, 2026, 9:06 a.m.