A data frame with three columns. Containing 1) The names of
the nodes ("node_name") that experience an event in each cascade,
2) the event time ("event_time") of the corresponding node,
3) the cascade identifier "cascade_id".
Arguments
diffnet
object of class diffnet.
nsim
integer, number of cascades to simulate.
max_time
numeric, the maximum time after which observations are
censored
start_probabilities
a vector of probabilities for each node in diffnet,
to be the node with the first event. If NULL a node is drawn from
a uniform distribution over all nodes.
partial_cascade
object of type cascade, containing one partial
cascades for which further development should be simulated.
params
numeric, (optional) parameters for diffusion time distribution.
See the details section of netinf for specification details.
Only use this argument if parameters different from those contained in the
diffnet object should be used or the network is not an object of
class diffnet.
model
character, diffusion model to use. One of c("exponential",
"rayleigh", "log-normal"). Only use this argument if parameters different
from those contained in the diffnet object should be used or the
network is not an object of class diffnet.
nodes
vector of node ids if different from nodes included in
diffnet