View source: R/netfacs-helpers.R

probability_of_event_size | R Documentation |

Count number of event sizes

probability_of_event_size(elements, max.event.size)

`elements` |
A list of vectors containing active elements or a binary matrix with events in rows |

`max.event.size` |
A positive integer |

A named vector, including probabilities for event sizes that were not observed in the data

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.