logisticsim | R Documentation |
This function simulates simple regression data from a logistic model.
logisticsim(x = seq(0, 1, length=101), a = 2, b = -4, seed=NULL)
x |
a numeric vector representing the explanatory variable |
a |
the regression function intercept |
b |
the regression function slope |
seed |
numeric constant |
a list consisting of
x |
the explanatory variable vector |
y |
the Poisson response vector |
logisticsim()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.