s-news
[Top] [All Lists]

Re: simple S+ question

To: "Yoo, Kisook {PD B~Nutley}" <kisook.yoo@roche.com>, <s-news@lists.biostat.wustl.edu>
Subject: Re: simple S+ question
From: "Kleijn, H.J. (Huub Jan)" <huubjan.kleijn@organon.com>
Date: Wed, 29 Dec 2004 09:25:54 +0100
Importance: normal
Thread-index: AcTs+OduE81JOaZGQMya6f5suAbqbwAhtObA
Thread-topic: [S] simple S+ question
Hi Kisook,

tapply should do the job.

tapply(x,y,mean)

Huub Jan

-----Original Message-----
From: Yoo, Kisook {PD B~Nutley} [mailto:kisook.yoo@roche.com] 
Sent: Tuesday, 28 December, 2004 17:19
To: s-news@lists.biostat.wustl.edu
Subject: [S] simple S+ question
Importance: High



Hi,

Could you tell me how to add a variable of mean of X variable by Y
variable?

Thank you.
K.


--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news
--------------------------------------------------------------------
This message, including attached files, may contain confidential
information and is intended only for the use by the individual and/or
the entity to which it is addressed. Any unauthorized use, dissemination
of, or copying of the information contained herein is not allowed and
may lead to irreparable harm and damage for which you may be held
liable. If you receive this message in error or if it is intended for
someone else please notify the sender by returning this e-mail
immediately and delete the message.
--------------------------------------------------------------------

This message, including attached files, may contain confidential information 
and is intended only for the use by the individual and/or the entity to which 
it is addressed.  Any unauthorized use, dissemination of, forwarding, 
disclosure or copying of the information contained herein is not allowed and 
may lead to irreparable harm and damage for which you may be held liable.  If 
you receive this message in error or if it is intended for someone else please 
notify the sender by returning this e-mail immediately and delete and destroy 
the original message and all copies.

<Prev in Thread] Current Thread [Next in Thread>