autoAnalyzeR: autoAnalyzeR

Description Usage Arguments Value Examples

View source: R/autoAnalyzeR.R

Description

autoAnalyzeR

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
autoAnalyzeR(
  outcomeVector,
  outcomesSetName = "sf12_outcomes",
  family = "gaussian",
  modelPredictorNamesList,
  analysis = "cfa",
  n.roundDigits = NULL,
  minDecimals = 2,
  corrReturn = TRUE
)

Arguments

outcomeVector

Vector of names of variables used as outcomes in analyses

outcomesSetName

Optional string specifying the start of the label for the set of variables in correlation analyses

family

e.g. Gaussian...glm argument

modelPredictorNamesList

List of sets of predictors belonging to each model; names attribute should be the model names

analysis

Type of analysis that produced the data to be analyzed (e.g. "cfa", "lca", "bf")

n.roundDigits

Number of digits to round to

minDecimals

Minimum number of decimal places to retain (to line up, in case trailing .00)

corrReturn

Run correlations as well as regressions? TRUE/FALSE

data

Dataset for analyses

Value

Print and return tables with regression results for different predictor models and outcomes

Examples

1
2
3
predictorModelNameVector <- c('predictorSet1', 'predictorSet2')
outcomeVector <- c('y1', 'y2', 'y3')
analysis = 'cfa'

enaY15/TabulationAutomation documentation built on March 18, 2020, 8:35 p.m.