Learn R Programming

TULIP (version 1.0.2)

sim.bi.vector: Simulate data

Description

Simulate a binary data set with vector predictor.

Usage

sim.bi.vector(tesize = 100)

Arguments

tesize

Number of observations in testing data.

Value

x

Simulated vector predictor.

testx

Simulated testing vector predictor.

y

Response corresponding to x.

testy

Response corresponding to testx.

Details

The function simulates a data set with \(p=500\). Response are binary.