as.twoway: Create an initial twoway object representing the data before...

Description Usage Arguments Value Author(s) Examples

View source: R/as.twoway.R

Description

Create an initial twoway object representing the data before fitting

Method for matrix input

Usage

1
2
3
4
5
as.twoway(x, ...)

## S3 method for class 'matrix'
as.twoway(x, ..., name = deparse(substitute(x)),
  responseName = name, varNames = names(dimnames(x)))

Arguments

x

a numeric matrix or numeric data frame with rownames

...

other arguments, unused here

name

Name of the data matrix

responseName

Name of the response variable

varNames

Names of the row and column variables

Value

An object of class c("twoway") with all effects(roweff, coleff, overall) set to zero, and method="Initial"

Author(s)

Richard M. Heiberger

Richard M. Heiberger

Examples

1
2

twoway documentation built on July 1, 2020, 5:37 p.m.

Related to as.twoway in twoway...