# 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