genLogRegData: Generate data for logistic regression

Description Usage Arguments Details Value Author(s)

View source: R/genData.R

Description

This function generates data ready for a logistic regression model

Usage

1
genLogRegData(xdata, beta = rep(1, ncol(xdata)), yname = "y")

Arguments

xdata

the model matrix

beta

vector of parameters to multiply the model matrix

yname

the name for the generated y values

Details

This function generates data ready for a logistic regression model

Value

A data frame with the model matrix and the generated y values added

Author(s)

G. Jay Kerns


prob documentation built on May 2, 2019, 12:20 p.m.