Message-ID: <A4E5A0B016B8CB41A485FC629B633CED4A0CD6AD85@GOLD.corp.lgc-group.com>
Date: 2012-11-19T15:12:30Z
From: S Ellison
Subject: Calculateing means
In-Reply-To: <ED718A56AAD12340A7F5E24F597B08D4049528A874@SYKECHXVS05.nslijhs.net>
> I have a data matrix with 570 columns containing 95 (samples)
> with 6 replicates each.
> How can I calculate the mean of the replicates for 95 samples?
Write a function that calculates the sample means for a vector of 95 observations and then use apply() to apply that function to the whole matrix.
S
*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}