[R] How to calculate?

From: stat4u <mfaisal_16_at_yahoo.com>
Date: Sat, 15 Nov 2008 07:31:15 -0800 (PST)

How can i calculate means with catergory of variable...


x y z
2 3 y
3 4 n
1 2 y
6 3 n
9 1 y
2 2 n
8 3 y

i want to get mean of x and y with respective to its category(y,n)

Muhammad Faisal

View this message in context: http://www.nabble.com/How-to-calculate--tp20516515p20516515.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 15 Nov 2008 - 15:33:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 15 Nov 2008 - 16:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive