Simulate matrix of draws from multinomial

1 | ```
parsim_multinom(nsims, nreps, probs, names, ncores = 4)
``` |

`nsims` |
Number of size=1 sims from the multinomials |

`nreps` |
Number of times to replicate the nsims. Put the smaller number here, the bigger one as nsims |

`probs` |
Vector of probabilities for each of the K categories |

`names` |
Vector of names associated with each of the categories. Must be of same length as probs. Can be character or numeric. Use numeric row IDs if you're referring to a group defined by multiple variables whose groupings are defined in a separate data frame |

cancerpolicy/bcimodel documentation built on June 15, 2018, 12:31 a.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.