predict_binomial | R Documentation |
This internal function simulates covariate values from a binomial distribution.
predict_binomial(x, size, prob)
x |
Integer specifying the number of observations to be simulated. |
size |
Integer specifying the number of trials. |
prob |
Numeric vector specifying the probabilities. |
Numeric vector of simulated covariate values under the binomial distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.