Dear R experts,

I am trying to simulate a list containing data matrices. Unfortunately, I don't manage to get it to work.

A small example:

n=5
nbootstrap=2

  subsets<-list()
  for (i in 1:n){
    subsets[[i]] <-   rnorm(5, mean=80, sd=1)


    for (j in 1:nbootstrap){
      test<-list()
      test[[j]]<-subsets[[i]]
      }
  }

How can I get test to be 2 simulation rounds with each 5 matrices.

Kind regards, Tobias



	[[alternative HTML version deleted]]

