TableOfMeans: 'TableOfMeans'

View source: R/tableofmeans.R

TableOfMeansR Documentation

TableOfMeans

Description

Compares mean of one variable by two factors.

Usage

TableOfMeans(
  outcome,
  row,
  column,
  subset = NULL,
  weights = NULL,
  correction = "Table FDR",
  robust.se = FALSE,
  show.labels = TRUE,
  p.cutoff = 0.05,
  ...
)

Arguments

outcome

The outcome variable.

row

The predictor to show in the rows. Used to filter the data.

column

The predictor to show in the columns.

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 false discovery rate correction to be applied when computing the corrected p-values. Defaults to applying the False Discovery Rate correction to all the cells in the table ("Table FDR"). See OneWayANOVA for other options.

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).

show.labels

Show labels instead of variable names

p.cutoff

The alpha level to be used in testing.

...

Parameters to pass to OneWayANOVA.


NumbersInternational/flipAnalysisOfVariance documentation built on Feb. 26, 2024, 4:52 a.m.