predSimBin | R Documentation |
Predict and simulate binary value from logistic model
predSimBin(model.glm, envir = parent.frame(), set = NULL)
model.glm |
model specifying variables to evaluate and coefficients to multiple by. |
envir |
environment in which to evaluate model variables. if unspecified, uses caller's environment |
set |
logical vector indicating elements or rows to simulate, or NULL to simulate using all values in envir |
a vector of binary values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.