MultipleMeans: 'MultipleMeans'

View source: R/multiplemeans.R

MultipleMeansR Documentation

MultipleMeans

Description

Compares means of multiple outcomes on a categorical predictor.

Usage

MultipleMeans(
  outcomes,
  predictor,
  subset = NULL,
  weights = NULL,
  correction = "Table FDR",
  robust.se = FALSE,
  missing = "Exclude cases with missing data",
  show.labels = FALSE,
  seed = 1223,
  p.cutoff = 0.05,
  title = "",
  subtitle = "",
  footer = "",
  return.data.frame = FALSE
)

Arguments

outcomes

The outcome variables.

predictor

The factor representing the groups.

subset

An optional vector specifying a subset of observations to be used in the fitting process, or, the name of a variable in data. It may not be an expression. subset may not

weights

An optional vector of sampling weights, or, the name or, the name of a variable in data. It may not be an expression.

correction

The multiple comparison adjustment method: "Table FDR", "Tukey Range", "None", "False Discovery Rate", "Benjamini & Yekutieli", "Bonferroni", "Free Combinations", "Hochberg", "Holm", "Hommel", "Single-step" "Shaffer", and "Westfall".

robust.se

Computes standard errors that are robust to violations of the assumption of constant variance. This parameter is ignored if weights are applied (as weights already employ a sandwich estimator).

missing

How missing data is to be treated in the ANOVA. Options: "Error if missing data". "Exclude cases with missing data", and "Imputation (replace missing values with estimates)".

show.labels

Shows the variable labels, as opposed to the labels, in the outputs, where a variables label is an attribute (e.g., attr(foo, "label")).

seed

The random number seed used when evaluating the multivariate t-distribution.

p.cutoff

The alpha level to be used in testing.

title

The title to appear in the output.

subtitle

The footer to appear in the output.

footer

The footer to appear in the output.

return.data.frame

Whether to return a data frame instead of a formattable widget.

Details

Computes multiple ANOVAs.

Conducts multiple OneWayANOVAs, and puts them in a list. If correction is "Table FDR", the false discovery rate correction is applied across the entire table. All other corrections are performed within rows. Additional detail about the other parameters can be found in OneWayANOVA.


Displayr/flipAnalysisOfVariance documentation built on Feb. 26, 2024, 12:35 a.m.