# NOT RUN {
data(docnet)
show_window(docnet, to_attribute = 'source') # before filtering
docnet = filter_window(docnet, hour_window = c(0.1,24))
docnet = filter_window(docnet, hour_window = c(6,36),
to_vertices = V(docnet)$sourcetype == 'Print NP')
show_window(docnet, to_attribute = 'sourcetype') # after filtering per sourcetype
show_window(docnet, to_attribute = 'source') # after filtering per source
# }
Run the code above in your browser using DataLab