Eliza
> Date: Tue, 27 May 2014 18:43:44 -0700
> From: smartpink...@yahoo.com
> Subject: Re: [R] row mean
> To: r-help@r-project.org
> CC: eliza_bo...@hotmail.com
>
>
>
> Forgot, about the mean:
> lapply(split(seq_len(nrow(AAA)),((seq_len(nrow(AAA))-1)%%12)+1),funct
Forgot, about the mean:
lapply(split(seq_len(nrow(AAA)),((seq_len(nrow(AAA))-1)%%12)+1),function(i)
colMeans(AAA[i,]))
A.K.
On , arun wrote:
Hi Eliza,
May be this helps:
lapply(split(seq_len(nrow(AAA)),((seq_len(nrow(AAA))-1)%%12)+1),function(i)
AAA[i,])
A.K.
On Tuesday, May 27, 2014
Hi Eliza,
May be this helps:
lapply(split(seq_len(nrow(AAA)),((seq_len(nrow(AAA))-1)%%12)+1),function(i)
AAA[i,])
A.K.
On Tuesday, May 27, 2014 6:48 PM, eliza botto wrote:
Dear R family,
I have this matrix say
AAA<-matrix(sample(1:240),ncol=2)
I first want to combine every 13th row in both co
Dear R family,
I have this matrix say
AAA<-matrix(sample(1:240),ncol=2)
I first want to combine every 13th row in both columns. precisely, starting
from row-1 1,13,25,37,49, then starting from row-2
2,14,26,38,50 also 3,15,27,39,51 and similarly starting from row 4, row number
5, row 6... ti
>Suppose that we have o 2-D contingency table where the row variable is nominal
>and the column one is ordinal. In SAS it is possible to compute the statistic
>named as row mean scores differ. How can we programmed it in R?
>(See also Aggresti (2002), Categorical Data Analysis, p. 302)
There is
Suppose that we have o 2-D contingency table where the row variable is nominal
and the column one is ordinal. In SAS it is possible to compute the statistic
named as row mean scores differ. How can we programmed it in R?
(See also Aggresti (2002), Categorical Data Analysis, p. 302)
With regards
D] On Behalf Of dt Excellent
Sent: Thursday, April 10, 2008 1:18 PM
To: R-Help
Subject: [R] Row mean scores differ association
Suppose that we have o 2-D contingency table where the row variable is nominal
and the column one is ordinal. In SAS it is possible to compute the statistic
named as row
Suppose that we have o 2-D contingency table where the row variable is nominal
and the column one is ordinal. In SAS it is possible to compute the statistic
named as row mean scores differ. How can we programmed it in R?
(See also Aggresti (2002), Categorical Data Analysis, p. 302)
With regards
8 matches
Mail list logo