Hi,

I am simulating data from a zero-inflated negative binomial model. I have 4
different conditions and I've saved various information about the models in
zinbsumbstat-jklm.rdata (as shown below). What I want to do is print
information from each of these *.rdata and store them in one large object
(a matrix or a data frame). However, within each data the objects all have
the same name. So I don't know how to combine these into one object. Below
is the code that I could use to paste all the information into the console.

for(j in 1:2){
  for(k in 1:6){
    for(l in 1:2){
      for(m in 1:2){

fsumstatZINB=paste("/Users/chris/Dropbox/phd/analysis/Simulation/zinbmodels/summaries/zinbsumstat-",j,k,l,m,".rdata",
sep="")
        load(fsumstatZINB)
        print(zinbMeans[,1])
      }
    }
  }
}

How could I combine all the information from these loops into a matrix() or
a data.frame()?

Two of the datasets [1,2] are pasted in a public Dropbox.
Thanks!
Chris

[1] https://dl.dropbox.com/u/1501309/zinbsumstat-1111.rdata
[2] https://dl.dropbox.com/u/1501309/zinbsumstat-1112.rdata

	[[alternative HTML version deleted]]

