Description Usage Arguments Examples
JAGS and Stan generally require the dichotymous data be coded as 0's and 1's. This function converts other data fromats to 0's and 1's.
1 |
x |
a vector |
one |
A vector of values to be coded as 1. All other values will be coded as 0.
If |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.