gen_agg_lm: Generate data to test the aggregress package.

Description Usage Arguments Value

View source: R/aggregress.R

Description

gen_agg_lm generates data to test the aggregress package. It is an internal function used for testing.

Usage

1
gen_agg_lm(model)

Arguments

model

a string to denote the model with which to generate the data frame. It can be 'lpm' for a linear proability model, 'lm' for a linear regression model or 'log' for a logistic regression model.

Value

a data frame of response variables and covariates for linear regression.


LeeMorinUCF/aggregress documentation built on June 30, 2020, 5:06 a.m.