Description Usage Arguments Value Examples
Generates a data frame containing the cascade information in the cascade object.
1 2 3 | ## S3 method for class 'cascade'
as.data.frame(x, row.names = NULL, optional = FALSE,
...)
|
x |
Cascade object to convert. |
row.names |
NULL or a character vector giving the row names for the data frame. Missing values are not allowed. |
optional |
logical. If TRUE, setting row names and converting column names (to syntactic names: see make.names) is optional. (Not supported) |
... |
Additional arguments passed to |
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"
.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.