Convert the initial data into the statistics matrix Nijk, by counting the number of events for the nodes during the subintervals of a particular partition of the time interval.
statistics(data, n, K, directed =TRUE)
Arguments
data: List with type.seq,time.seq
n: Total number of nodes : i,j∈1,…,n
K: Size of the regular partition, i.e. number of subintervals
directed: Boolean for directed (TRUE) or undirected (FALSE) case
Returns
N(i,j)k = number of events for the node (i,j) during the k-th subinterval
Examples
# Convert the generated data into the statistics matrix N_ijk with 8 columnsn <-50Dmax <-2^3obs <- statistics(generated_Q3$data,n,Dmax,directed=FALSE)