[R] Adding Functionality to stat.table in Epi

2005-08-09 Thread rab45+
The stat.table function in the Epi package won't do standard deviations. It didn't seem that it would be difficult to add an sd function to the stat.table function. Following the example for the mean, I set up a similar function for the sd (and included it as an options) but it just won't work. (I

Re: [R] Adding Functionality to stat.table in Epi

2005-08-09 Thread Greg Snow
After you copy stat.table to stat.table2 and modify stat.table2 try: environment(stat.table2) - environment(stat.table) (you should only need to do that 1 time after creating/editing stat.table2). hope this helps, Greg Snow, Ph.D. Statistical Data Center, LDS Hospital Intermountain Health

Re: [R] Adding Functionality to stat.table in Epi

2005-08-09 Thread rab45+
After you copy stat.table to stat.table2 and modify stat.table2 try: environment(stat.table2) - environment(stat.table) (you should only need to do that 1 time after creating/editing stat.table2). hope this helps, Greg Snow, Ph.D. Statistical Data Center, LDS Hospital Intermountain