Hi,
Try:
library(Epi)
 stat.table(tension,list(count(),mean(breaks)),data=warpbreaks)
# ------------------------------- 
# tension   count() mean(breaks)  
 #------------------------------- 
 #L              18        36.39  
 #M              18        26.39  
 #H              18        21.67  
 #------------------------------- 
A.K.




----- Original Message -----
From: "Gu, LanYing" <lanying...@cancercare.on.ca>
To: "r-help@r-project.org" <r-help@r-project.org>
Cc: 
Sent: Monday, July 29, 2013 3:23 PM
Subject: [R] about R stat.table function

Hi R Help group,

I try to use stat.table function in my R script, when I run stat.table in R. it 
shows that "No stat.function found", and I try to get help using "?stat.table" 
it shows that "No documentation for 'stat.table' in specified packages and 
libraries:
you could try '??stat.table'".

it seems no "stat.table" function in my R. I want to know Do I need to install 
this function? From which website I could install this function? Could you 
please guide me how to do.

Many thanks,

Lan

________________________________


This e-mail message (and any attachments) may contain co...{{dropped:11}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to