Usage
plot_threshold(graph, expo, toa, t0 = min(toa, na.rm = TRUE),
undirected = getOption("diffnet.undirected"), no.contemporary = TRUE,
main = "Time of Adoption by Network Threshold", xlab = "Time",
ylab = "Threshold", vertex.cex = "degree", vertex.col = "blue",
vertex.label = NULL, vertex.lab.pos = 3, edge.width = 2,
edge.col = "gray", arrow.length = 0.2, include.grid = TRUE, bty = "n",
...)
Arguments
expo
$n\times T$ matrix. Esposure to the innovation obtained from exposure
toa
Integer vector of size $n$. Times of Adoption
undirected
Logical scalar.
no.contemporary
Logical scalar. When TRUE, edges for vertices with the same
toa
won't be plotted.
main
Character scalar. Title of the plot.
xlab
Character scalar. x-axis label.
ylab
Character scalar. y-axis label.
vertex.cex
Numeric vector of size $n$. Relative size of the vertices.
vertex.col
Either a vector of size $n$ or a scalar indicating colors of the vertices.
vertex.label
Character vector of size $n$. Labels of the vertices.
vertex.lab.pos
Integer value to be passed to text
via pos
. edge.width
Numeric. Width of the edges.
edge.col
Character. Color of the edges.
arrow.length
Numeric value to be passed to arrows
. include.grid
Logical. When TRUE, the grid of the graph is drawn.
...
Additional arguments passed to plot
.