Description Usage Arguments Details Value warning Note Author(s) References See Also Examples
Generates an object of class BootMatrix to be used for RepeatRanking.
1 |
x |
Only needed if |
y |
|
replicates |
Number of bootstrap replicates to be generated. |
type |
One of |
maxties |
The maximum number of ties allowed per observation.
For example, |
minclassize |
If |
balancedclass |
If |
balancedsample |
Should balanced bootstrap (s. details) be performed ? |
control |
Further control arguments concerning the generation process of the bootstrap matrix, s. samplingcontrol. |
For the case that balancedsample=TRUE
, all other constraints
as imposed by maxties
, minclassize
and so on are ignored.
Balanced bootstrap (s. reference below) means that each observation
occurs equally frequently (with respect to all bootstrap replications).
An object of class BootMatrix
If the generation process (partially) fails, try to
reduce the constraints or change the argument control
.
No bootstrap sample will occur more than once, i.e. each replication is unique.
Martin Slawski
Anne-Laure Boulesteix
Davison, A.C., Hinkley, D.V. (1997)
Bootstrap Methods and their Application.
Cambridge University Press
GenerateFoldMatrix, RepeatRanking
1 2 3 4 5 6 7 | ## Load toy gene expression data
data(toydata)
### class labels
yy <- toydata[1,]
### Generate Boot Matrix, maximum number of ties=3,
### minimum classize=5, 30 replications:
boot <- GenerateBootMatrix(y = yy, maxties=3, minclassize=5, repl=30)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.