show_window | R Documentation |
This function aggregates the edges for all combinations of attributes specified in 'from_attribute' and 'to_attribute', and shows the minimum and maximum hour difference for each combination.
show_window(g, to_attribute = NULL, from_attribute = NULL)
g |
A document similarity network, as created with newsflow_compare or create_document_network |
to_attribute |
The vertex attribute to aggregate the 'to' group of the edges |
from_attribute |
The vertex attribute to aggregate the 'from' group of the edges |
The filter_window function can be used to filter edges that fall outside of the intended time window.
A data.frame showing the left and right edges of the window for each unique group.
data(docnet)
show_window(docnet, to_attribute = 'source')
show_window(docnet, to_attribute = 'sourcetype')
show_window(docnet, to_attribute = 'sourcetype', from_attribute = 'sourcetype')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.