search for: moduledata_999_1

Displaying 1 result from an estimated 1 matches for "moduledata_999_1".

2009 Sep 04
1
Apparent bug in summaryBy (PR#13941)
...formation and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(doBy) > tmp = read.table("moduledata_999_1.txt",header=FALSE) > str(tmp) 'data.frame': 2 obs. of 2 variables: $ V1: Factor w/ 2 levels "b","c": 2 1 $ V2: num 1 2 > tmp V1 V2 1 c 1 2 b 2 > summaryBy(V2~V1,tmp) V1 V2.mean 1 b 1 2 c 2