Description Usage Arguments Author(s) Examples

Probability vectors can be passed manually to the model, but
they must be formatted in code appropriate to JAGS. `vectorProbs`

will convert a vector of counts or weights to probabilities and format
it into JAGS code.

1 | ```
vectorProbs(p, node, normalize = TRUE)
``` |

`p` |
a vector of counts, weights, or probabilities. |

`node` |
the node for the parameters. this is converted to a character
string. It is important that this be given accurately or it will not
match with the code written by |

`normalize` |
A logical indicating if the weights in |

Jarrod Dalton and Benjamin Nutter

1 | ```
vectorProbs(c(1, 2, 3), "wells")
``` |

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.