madWV: Produce a grpWV object

Description Usage Arguments Value Examples

Description

madWV defines and produces a grpWV object with FUN = “mad”, interval = c(0, 1) and ifeq = “>”. See also grpWV, which produces a grpWV object with no restriction but is much slower. See plot.grpWV for plotting instructions.

Usage

1
madWV(SVobj, degree = 4)

Arguments

SVobj

A samVec object containing data and other information.

degree

A integer specifying the degree of the polynomail logistic regression that applied to fit the data.

Value

A grpWV object is returned, which is a list containing

fitY

A list of lists of numerics containing the fitted response values.

rankit

A list of numerics containing the rankit of the means of the data matrix.

order

A list of integers containing the order the rankit.

nWV

An integers indicating the numbers of grpWV.

interval

c(0, 1).

Function

"mad".

ifeq

">".

selCol

A list of vector of integers containing absolute indexes of choosen columns.

colInd

A list of vector of integers containing relative indexes of columns.

labels

A vector of characters, integers or short string marking the groups.

dataType

A long string containing useful information of the data.

Examples

1
2
3
4
5
data(GCwPADataA)
testset = samVec(GCwPADataA, selCol = list(1:5, 11:15, 21:25), labels = c("E", "R", "T"),
 dataType = "Example")
gw1 = madWV(SVobj = testset, degree = 6)
plot(gw1, legPar = list(cex = 1, ncol = 1), mainPar = list(main = "Example"))

ziyanyin/DEEE documentation built on May 4, 2019, 11:23 p.m.