[R] bootstrapping a matrix and calculating Pearson's correlation coefficient
landronimirc at gmail.com
Tue Jan 5 23:45:53 CET 2010
On 1/5/10, Lee William <leeonweb at gmail.com> wrote:
> I have got matrix 'data' of dimension 22000x600. I want to make 50
> independent samples of dimension 22000x300 from the original matrix 'data'.
> And then want to calculate pearsons CC for each of the obtained 50 matrices.
> It seems it is possible to do this using 'boot' function from library boot
> but I am not able to figure out how? I am really stuck. Please help!
Initially consider constructing the bootstrap function on a much
smaller scale, with dummy data. For a dummy example on bootstrapping,
see one of my old posts . Also, check this Quick-R page  and the
links at the bottom of the page for various explanations on the
More information about the R-help