Displaying 1 result from an estimated 1 matches for "tccb".
Did you mean:
ccb
2006 Feb 20
2
formatting results from a function argument
Hello all,
I have a simple function which calculates summary statistics of a dataset
in terms of a factor (say area).
> x = data.frame(Area = c(rep("cleanup", 5), rep("ref", 5)), TcCB =
c(rnorm(5)+2, rnorm(5)));x
Area TcCB
1 cleanup 2.5829747
2 cleanup 2.6796868
3 cleanup 2.5437094
4 cleanup 2.8453616
5 cleanup 1.1789683
6 ref 1.0140391
7 ref -0.8433729
8 ref 0.6512422
9 ref 0.2341083
10 ref -0.2688026
>
> summarystat<-fu...