R/count_edges_in_interval.R
count_unique_edges_in_interval.Rd
Count number of unique edges in time interval
count_unique_edges_in_interval(
x,
start = NULL,
end = NULL,
number = 30,
directed = network::is.directed(x)
)
vector with counts
Counts how many edges happen (ie. have their start within an interval)
over the time period (start, end). The toime period is split into
number
intervals, each of equal time length. So, if start = 0
,
end = 10
, and number = 2
, then the time period is divided
into the time intervals from 0 (inclusive) to 5 (exclusive) and from 5
(inclusive) to 10 (exclusive).
count_edges_in_interval
counts the number of edges that start in
each interval.
count_unique_edges_in_interval
counts the number of unique edges
that start in each interval, so edges that occur multiple times are only
counted once.