neha_geta | R Documentation |
A function to estimate NEHA parameters using greedy edge addition
neha_geta(eha_data, node, time, event, cascade, ncore = 2)
eha_data |
A dataframe that includes one observation for each node at risk of experiencing the event during each at-risk time point in each cascade. Note, it is assumed that each node can experience an event in each cascade once, at most. |
node |
A character string name of the variable that gives the node id |
time |
A character string name of the variable that gives the time, in integers |
event |
A character string name of the variable that gives the binary 0/1 indicator of event occurrence. |
cascade |
A character string name of the variable that gives the cascade id |
ncore |
integer indicating the number of cores to use in parallel computation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.