logisticsim: Simple Logistic Regression Data Simulator

logisticsimR Documentation

Simple Logistic Regression Data Simulator

Description

This function simulates simple regression data from a logistic model.

Usage

logisticsim(x = seq(0, 1, length=101), a = 2, b = -4, seed=NULL)

Arguments

x

a numeric vector representing the explanatory variable

a

the regression function intercept

b

the regression function slope

seed

numeric constant

Value

a list consisting of

x

the explanatory variable vector

y

the Poisson response vector

Examples

logisticsim()

DAAG documentation built on May 29, 2024, 9:13 a.m.