TableOfMeans: 'TableOfMeans'

Description Usage Arguments

View source: R/tableofmeans.R

Description

Compares mean of one variable by two factors.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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.


Displayr/flipAnalysisOfVariance documentation built on Aug. 11, 2021, 12:58 a.m.