I'm probably misunderstanding what you want. I get this from the code I sent:
VC [[1]] Prob.of.exceedance_1 Prob.of.exceedance_2 Prob.of.exceedance_3 1 0 0 0.005343027 Prob.of.exceedance_4 1 0.01947477 [[2]] Prob.of.exceedance_1 Prob.of.exceedance_2 Prob.of.exceedance_3 5 0 0 0.00115359 Prob.of.exceedance_4 5 0.01122235 Two list elements with four values. Perhaps you want a matrix for each block of Taxonomy and IM.type that has a row for each element of the block? This often happens with a remotely specified problem. Jim On Sat, Dec 21, 2019 at 8:33 AM Ioannou, Ioanna <ioanna.ioan...@ucl.ac.uk> wrote: > > Hello Jim , > > Thank you ever so much for your help. I was truly stuck! > > This looks much better and yes I can turn them into a matrix no problem. > Indeed I need only the results for ER+ETR_H1,PGA and ER+ETR_H2,Sa. One minor > point as it is the VC has 4 values for three cases instead of the > aforementioned two. In fact, the third is identical to the first. Could you > please optimize? > ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.