FoldMatrix-class: "FoldMatrix"

Description Slots Methods Author(s) References See Also

Description

An object returned from GenerateFoldMatrix, usually passed to RepeatRanking.

Slots

foldmatrix:

A logical matrix whose number of columns equals the number of replications and whose number of rows equals the number of observations. The jth column indicates which observation(s) is(are) removed/mislabeled for the jth replication. The corresponding entries then equal FALSE.

k:

Number of observations that are removed or whose labels are exchanged.

replicates:

Number of replications if k>1.

type:

One of "unpaired", "paired", "onesample", s. GeneRanking.

minclassize:

The minimum class size, s. GenerateFoldMatrix

balanced:

Balanced classes, s. GenerateFoldMatrix

Methods

show

Use show(FoldMatrix) for a brief information

summary

Use summary(FoldMatrix, repl=1:2) to find out those observations which are left out/whose class labels are exchanged in replications 1 and 2

Author(s)

Martin Slawski
Anne-Laure Boulesteix

References

Davison, A.C., Hinkley, D.V. (1997)
Bootstrap Methods and their Application. Cambridge University Press

See Also

GenerateFoldMatrix, GenerateBootMatrix, RepeatRanking


GeneSelector documentation built on May 1, 2019, 11:35 p.m.