predSimBinomsSelect | R Documentation |
Predict and simulate binary value from 2 binomial models.
predSimBinomsSelect(select, model0, model1, envir = parent.frame())
select |
a logical vector, or vector of 0s and 1s, which determine when to use model0 and when to use model1, i.e: when select == 0, then result is predSimBinom using model0 when select == 1, then result is 1 - predSimBinom using model1 |
model0 |
model0 |
model1 |
model1 |
envir |
environment in which to evaluate model variables. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.