powered by
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)
A data.frame showing the left and right edges of the window for each unique group.
A document similarity network, as created with newsflow_compare or create_document_network
The vertex attribute to aggregate the `to` group of the edges
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.
data(docnet) show_window(docnet, to_attribute = 'source') show_window(docnet, to_attribute = 'sourcetype') show_window(docnet, to_attribute = 'sourcetype', from_attribute = 'sourcetype')
Run the code above in your browser using DataLab