Description Usage Arguments Details Value Author(s) References See Also Examples
Fits an additive model using either row and column means or Tukey's median polish procedure
1 2 3 4 5 6 |
x |
a numeric matrix or data frame. |
... |
other arguments passed down |
method |
one of |
name |
name for the input dataset |
responseName |
name for the response variable |
varNames |
names for the Row and Column variables |
The rownames(x)
are used as the levels of the row factor and the colnames(x
) are
the levels of the column factor.
For a numeric matrix, the function uses the names(dimnames(x))
as the names of these
variables, and, if present, a responseName
attribute as the name for the response variable.
An object of class c("twoway")
with the following named components:
the fitted constant term.
the fitted row effects.
the fitted column effects.
the residuals.
the name of the dataset.
the names for the rows
the names for the columns
the fitting method
the names of the row and column variables
the name of the response variable
the comparison values, for the diagnostic plot
the slope value, for the diagnostic plot
the suggested power transformation, 1-slope
An object of class "twoway"
, but supplemented by additional components used for labeling
Michael Friendly
Tukey, J. W. (1977). Exploratory Data Analysis, Reading MA: Addison-Wesley. Friendly, M. (1991). SAS System for Statistical Graphics Cary, NC: SAS Institute
codetwoway.formula, codemedpolish
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.