FoldMatrix-class: "FoldMatrix"
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
References
Davison, A.C., Hinkley, D.V. (1997)
Bootstrap Methods and their Application.
Cambridge University Press