multReg: multReg

Description Usage Arguments Value Examples

Description

multReg performs univariate simple linear regression models for a single outcome variable over a list of predictor variables.

Usage

1
2
multReg(data, yvar, predlist, catlist = NULL, varLabelTable = FALSE,
  sortVars = FALSE, dec = 2, pdec = 3, rsqdec = 4)

Arguments

data

data.frame containing all variables for analysis

yvar

Variable name of the outcome variable

predlist

Vector of predictor variables

catlist

Vector of variable names found in 'predlist' that should be treated as categorical variables

varLabelTable

A varLabelTable object containing variable names in column 1 and variable labels in column 2

sortVars

Vector of variable names in the order to be presented in the output

dec

Number of decimals to round descriptive statistics

pdec

Number of decimals to round p-values

rsqdec

Number of decimals to round r-squared values

Value

A data.frame object conatining all results.

Examples

1
#NULL

TaylorAndrew/atAnalyze documentation built on May 9, 2019, 4:21 p.m.