Description Usage Arguments Value Examples

Cuts-off the (possibly unbounded) probability distribution at 'max.dist' and normalizes the resulting vector of probability to sum up to 1.

1 | ```
create_dist_vec(dist, max.dist)
``` |

`dist` |
probability mass function to use |

`max.dist` |
maximum value at which to cutoff distribution |

vector of probabilites for values 1:max.dist

1 2 | ```
geom_dist_fct(1:70)
create_dist_vec(geom_dist_fct, max.dist = 70)
``` |

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.