multipleComparison: Run the multiple comparison

Description Usage Arguments Value Author(s)

View source: R/dataAnalysis.R

Description

Run the multiple comparison

Usage

1
2
multipleComparison(est, estcov, coefname, n, ordermatrix = TRUE,
  method = "bonferroni")

Arguments

est

the estimated values of the fixed effects

estcov

the covariance matrix of the fixed effects

coefname

a vector of all levels (should contain one more level than est)

n

the number of rows in the design matrix of the model

ordermatrix

logical. If coefname should be ordered in the matrix or not.

method

the multiple comparison methods. See ?p.adjust

Value

a matrix of p-values between each pair of levels

Author(s)

Xiaoyue Cheng <[email protected]>


introstat/ePort documentation built on May 17, 2017, 4:19 a.m.