Description Usage Arguments Value Examples

Convert the initial data into the statistics matrix *N_{ijk}*, by counting the number of events for the nodes during the subintervals of a particular partition of the time interval.

1 | ```
statistics(data, n, K, directed = TRUE)
``` |

`data` |
List with $type.seq, $time.seq |

`n` |
Total number of nodes : |

`K` |
Size of the regular partition, i.e. number of subintervals |

`directed` |
Boolean for directed (TRUE) or undirected (FALSE) case |

N(i,j)k = number of events for the node (i,j) during the k-th subinterval

1 2 3 4 5 6 | ```
# Convert the generated data into the statistics matrix N_ijk with 8 columns
n <- 50
Dmax <- 2^3
obs <- statistics(generated_Q3$data,n,Dmax,directed=FALSE)
``` |

ppsbm documentation built on March 19, 2018, 5:03 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.