Thank you very much Berend!:) On Thu, Oct 25, 2012 at 4:37 PM, Berend Hasselman <b...@xs4all.nl> wrote:
> Loukia, > > Please send your replies to the R-help list. I am CC'ing this to the > R-help list. > > On 25-10-2012, at 15:30, Loukia Spineli wrote: > > > Dear Berend, > > > > I am not familiar at all with ascii text. If you could suggest me a good > link to learn about it, then it would be really helpful! > > If that is so, then how are you making your R code or R script? You must be using a plain text editor but we don't know your version of R, > your OS, or anything else. > If you are only using an R console you should look in the documentation of > your system to find out how to work with plain text. > > Berend > > > Best wishes, > > Loukia > > > > On Thu, Oct 25, 2012 at 4:23 PM, Berend Hasselman <b...@xs4all.nl> wrote: > > > > You were asked to provide R code in ascii text. > > Also use dput to get the objects into a mail. > > > > Nobody is going to make the effort to copy from your pdf. I certainly > will not. > > > > Berend > > > > On 25-10-2012, at 13:45, Loukia Spineli wrote: > > > > > x and y are the frequencies of missing participants in the > intervention and > > > the control treatment respectively! vector t contains the code of the > > > interventions (we have 11 interventions). I re-attach the PDF with some > > > small modifications. I am trying to create a list, where each list > element > > > is a vector of different length arrays that contain 2by2 matrices. To > be > > > more specific there are 11 treatments that are compared with placebo > (we > > > have 11 comparisons) and each comparison is studied by a different > number > > > of trials and each trial has a different number of missing > participants in > > > both arms. The length of the list is equal to the number of > comparisons. In > > > each comparison the number of arrays is equal to the number of trials > that > > > study this comparison. For instance 4 trials compare PAR with placebo. > So, > > > for this comparison we have 4 arrays and each array has a length equal > to > > > the producy of the number of participants in each arm. These arrays > contain > > > 2x2 matrices. > > > > > > I have attached a document with the data and the code. I cannot create > the > > > list results the way I have described above. It creates only the > matrices > > > for the first array (that has length equal to 135) of the first > comparison > > > leaving the rest 10 comparisons "NULL". > > > > > > On Wed, Oct 24, 2012 at 5:17 PM, Richard M. Heiberger <r...@temple.edu > >wrote: > > > > > >> I am looking at your pdf file. > > >> > > >> it doesn't match your description. > > >> > > >> There are no missing values in the vectors > > >> x, y, t. > > >> Each vector has length 55 which is not a multiple of 4, > > >> so we don't know where the 2x2 matrices come from. > > >> > > >> The code doesn't run. There are are too many "}". > > >> PDF files are formatted and are not ascii. > > >> > > >> Please send your code in ascii text in the body of the email. > > >> Please pick it up from your email and paste it into > > >> a fresh R session to be sure that it works. > > >> > > >> Perhaps consrtruct manually an example of what you want the answer to > look > > >> like. > > >> > > >> Rich > > >> > > >> > > >> > > >> On Wed, Oct 24, 2012 at 3:51 AM, Loukia Spineli < > spinelilouki...@gmail.com > > >>> wrote: > > >> > > >>> Dear all, > > >>> > > >>> I am trying to create a list, where each list element is a vector of > > >>> different length arrays that contain 2by2 matrices. To be more > specific > > >>> there are 11 treatments that are compared with placebo (we have 11 > > >>> comparisons) and each comparison is studied by a different number of > > >>> trials > > >>> and each trial has a different number of missing participants in both > > >>> arms. > > >>> The length of the list is equal to the number of comparisons. In each > > >>> comparison the number of arrays is equal to the number of trials that > > >>> study > > >>> this comparison. For instance 4 trials compare PAR with placebo. So, > for > > >>> this comparison we have 4 arrays and each array has a length equal > to the > > >>> producy of the number of participants in each arm. These arrays > contain > > >>> 2x2 > > >>> matrices. > > >>> > > >>> I have attached a document with the data and the code. I cannot > create the > > >>> list results the way I have described above. It creates only the > matrices > > >>> for the first array (that has length equal to 135) of the first > comparison > > >>> leaving the rest 10 comparisons "NULL". > > >>> Any suggestion would be really helpful > > >>> > > >>> Thank you in advance, > > >>> Loukia > > >>> > > >>> ______________________________________________ > > >>> R-help@r-project.org mailing list > > >>> 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. > > >>> > > >>> > > >> > > > <List of multidimensional > arrays.pdf>______________________________________________ > > > R-help@r-project.org mailing list > > > 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. > > > > > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list 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.