Dear all,
for the first array I can get ten 2x2matrices (and I am partially happy for
this). Now, I have problem with the 2nd array. It gives three 2x2 matrices
for both rows, while it was "supposed" to give five 2x2 matrices in the
first row and three 2x2 matrices ONLY in the second row. What cou
Dear all,
to make our life easier, I give you the following dataset (just this
vector) and code! It gives me two arrays of different dimensions: the first
is a 2x2x1 array and the second is a 2x2x2 array (please, feel free to
correct me on the way I define the arrays. This is the first time I am
w
You are very lucky. This question was answered last week in
https://stat.ethz.ch/pipermail/r-help/2012-October/326597.html
For the future, please read the posting guide referenced below and include
an example of your
data and the result of the calculation you would like to see.
Please use R-help
hello,
I want to make a two dimensional matrix from the data table.That data
table has three column 1st is userid,2nditemid and 3rd is rating
corresponding to the itemid given by userid.I want to make a m*n matrix in
which 'm' is userid and 'n' to be itemid .That 2D matrix should b filled
with
Please use this model to send your data and code
> mydata <- data.frame(x, y, fx, fy)
> head(mydata) ## just the first 6 rows are displayed on screen
x y fx fy
1 4 3 37 40
2 4 3 21 20
3 0 0 65 50
4 12 0 91 49
5 1 5 22 20
6 2 3 6 10
> dump("mydata", "")
mydata <-
structure(list(x = c(4, 4
With effort I re-inserted the line feeds in your code that the
pdf file deleted.
There is an error in your code
Error in 0:(x[t == i][l]) (from #9) : NA/NaN argument
>
> x[t == i]
[1] 8 2 9
> l
[1] 4
>
On Thu, Oct 25, 2012 at 7:45 AM, Loukia Spineli
wrote:
> x and y are the frequencies of missi
Thank you very much Berend!:)
On Thu, Oct 25, 2012 at 4:37 PM, Berend Hasselman 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 as
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 t
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 inter
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 v
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 format
You are absolutely right. I read the guidelines! Mistake to attach 'word'
file! The comfort is that at least I got an "A" :).
I revise my question approapriately!
On Wed, Oct 24, 2012 at 10:36 AM, David Winsemius wrote:
>
> On Oct 23, 2012, at 11:36 PM, Loukia Spineli wrote:
>
> > Dear all,
> >
On Oct 23, 2012, at 11:36 PM, Loukia Spineli 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) a
13 matches
Mail list logo