PROTECTED] wrote:
From: stephen sefick [EMAIL PROTECTED]
Subject: Re: [R] calculating mean for samples
To: [EMAIL PROTECTED], R Help r-help@r-project.org
Date: Monday, October 20, 2008, 12:05 PM
assuming that A1 is the data provided in the first post... it would be
helpful if you used dput
),], 5)) if U print out
f, you'll see they are all the same.
--- On Mon, 10/20/08, stephen sefick [EMAIL PROTECTED] wrote:
From: stephen sefick [EMAIL PROTECTED]
Subject: Re: [R] calculating mean for samples
To: [EMAIL PROTECTED], R Help r-help@r-project.org
Date: Monday, October 20, 2008, 12
Hi everyone,
does any one knows how can I calculate mean for different samples
i.e. I have a data like this:
s1 s2 s3 s4
1 0 0 0 1
2 1 0 1 0
3 0 0 0 0
4 0 0 0 0
5 0 1 0 1
6 1 0 0 0
7 0 0 0 0
8 0 0 0 0
9 0 0 0 0
10 0 0 0 1
I need to
]
Subject: Re: [R] calculating mean for samples
To: Alex99 [EMAIL PROTECTED]
Date: Monday, October 20, 2008, 11:34 AM
look at
?sample
?lapply
?mean
On Mon, Oct 20, 2008 at 1:53 PM, Alex99 [EMAIL PROTECTED] wrote:
Hi everyone,
does any one knows how can I calculate mean for different samples
4 matches
Mail list logo