This function simulates simple regression data from a logistic model.
logisticsim(x = seq(0, 1, length=101), a = 2, b = -4, seed=NULL)
a numeric vector representing the explanatory variable
the regression function intercept
the regression function slope
numeric constant
a list consisting of
the explanatory variable vector
the Poisson response vector