t2way: Trimmed means for 2-way ANOVA

Description Usage Arguments Author(s) Examples

Description

A heteroscedastic two-way ANOVA for trimmed means using a generalization of Welch's method.

Usage

1
2
  t2way(J, K, data, tr = 0.2, grp = c(1:p), p = J * K,
    MAT = F, lev.col = c(1:2), var.col = 3, pr = T)

Arguments

J

number of levels for factor 1

K

number of levels for factor 2

data

contains the raw data stored in list mode, or a matrix with columns corresponding to groups. If stored in list mode, data[[1]] contains the data for the first level of both factors: level 1,1. data[[2]] is assumed to contain the data for level 1 of the first factor and level 2 of the second factor: level 1,2, etc. It is assumed that data has length JK, the total number of groups being tested.

tr

proportion to be trimmed, default is .2

grp

1:p

p

is a numberic value J*K

MAT

logical; if TRUE assumes data are stored in matrix with 3 columns with two of the columns indicated by the argument lev.col specifying the columns of x containing the values of the levels of the two factors.

lev.col

something

var.col

something

pr

logical; print the results?

Author(s)

Rob Cribbie and Phil Chalmers

Examples

1
2
3
4
5
6
## Not run: 
data(twowaythreeway)
attach(twowaythreeway)


## End(Not run)

mattsigal/psyc6130 documentation built on May 21, 2019, 1:26 p.m.