Message-ID: <9D68DB23-B651-49D1-A10B-7959F8CA31B3@comcast.net>
Date: 2009-04-22T15:03:14Z
From: David Winsemius
Subject: drawing a plot with SEM
In-Reply-To: <f03f40920904220726t1a7c009du16628f352e877541@mail.gmail.com>
Assume the object in question is a dataframe named "dm":
apply(dm, 1, mean)
It worries me that you are asking for the sem's of two element
objects, but if you really want it, the obvious modification to the
above should work.
On Apr 22, 2009, at 10:26 AM, ANJAN PURKAYASTHA wrote:
> I have a data matrix:
> repeat1 repeat2
> 1 30 34
> 2 12 23
> 3 50 13
> 4 56 98
> .
> .
> .
>
> I would like to plot for the mean and standard error of mean of
> repeat 1 and
> repeat2 for each row.
> Any pointers on how to do this in R?
>
> TIA,
> Anjan
> --
> =============================
> anjan purkayastha, phd
> bioinformatics analyst
> whitehead institute for biomedical research
>
David Winsemius, MD
Heritage Laboratories
West Hartford, CT