meanfit: Fit a two-way table using row and column means

Description Usage Arguments Value

Description

Fit a two-way table using row and column means

Usage

1
meanfit(x, ..., na.rm=FALSE)

Arguments

x

a numeric matrix or data frame

...

other arguments passed down

na.rm

logical. Should missing values be removed?

Value

An object of class c("twoway") with the following named components:

overall

the fitted constant term.

roweff

the fitted row effects.

coleff

the fitted column effects.

residuals

the residuals.

name

the name of the dataset.

rownames

the names for the rows

colnames

the names for the columns

method

"median"


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

Related to meanfit in twoway...