Last data update: 2014.03.03

R: Funtion 'Bootstrap' of a DiStatis object
BootstrapR Documentation

Funtion Bootstrap of a DiStatis object

Description

This function is use to make Bootstrap from DiStatis object. Bootstrap resampling techniques are applied on the residuals matrices obtained from SVD of the Compromise and the RV matrix to do multiple comparisions between studies and confidence elipses for the projections of observations in the compromise.

Usage

Bootstrap(object, NRep = 100, Dims = 2)

## S4 method for signature 'DiStatis'
Bootstrap(object, NRep = 100, Dims = 2)

Arguments

object

It is the object of DiStatis Class.

NRep

Number of repetitions to do the bootstraping. Default is 100.

Dims

Number of dimensions used to do the bootstraping. Default is 2.

Value

Bootstrap

Bootstrap class object with the corresponding completed slots according to the given model

Author(s)

M L Zingaretti, J A Demey-Zambrano, J L Vicente Villardon, J R Demey

References

  1. Efron, B.,Tibshirani, RJ. (1993). An introduction to the bootstrap. New York: Chapman and Hall. 436p.

  2. Ringrose, T.J. (1992). Bootstrapping and Correspondence Analysis in Archaeology. Journal of Archaeological. Science.19:615-629.

Examples

{
data(NCI60Selec)
Z1<-DiStatis(NCI60Selec)
B<-Bootstrap(Z1)
Z2<-DiStatis(NCI60Selec,Center=FALSE,Scale=FALSE)
B2<-Bootstrap(Z2,NRep=200)

}

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(kimod)
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/kimod/DiStatis-Bootstrap.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Bootstrap
> ### Title: Funtion 'Bootstrap' of a DiStatis object
> ### Aliases: Bootstrap Bootstrap,DiStatis-method Bootstrap-methods
> 
> ### ** Examples
> 
> {
+ data(NCI60Selec)
+ Z1<-DiStatis(NCI60Selec)
+ B<-Bootstrap(Z1)
+ Z2<-DiStatis(NCI60Selec,Center=FALSE,Scale=FALSE)
+ B2<-Bootstrap(Z2,NRep=200)
+ 
+ }
The calculations were performed using the scalar product between the tables
The Projection of all variables will be made when the number of variables is less than 50
The calculations were performed using the scalar product between the tables
The Projection of all variables will be made when the number of variables is less than 50
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>