search for: groups2

Displaying 2 results from an estimated 2 matches for "groups2".

Did you mean: groups
2005 Apr 29
2
Iterative process for reading in text files
Hello Instead of reading in group1.txt I want to read in groups1 for the first iteration of i, then groups2 for the second and so on. Obviously I can't use groups(i) but assume there is a way to do this. group<-read.table("C:/Data/April 2005/group1.txt",header=T) thanks in advance Meredith
2011 May 13
0
How do I break my addiction to for loops!?!?
I know I'm not supposed to use them... but they're just so easy! I have trouble defining an appropriate function for plyr or apply! data<-rnorm(144) groups1<-c('a','b','c','d') groups2<-c('aa','bb','cc','dd') machines<-1:12 df<-data.frame(machine=machines,group1=groups1,group2=groups2,U=data,V=2*data,W=data^2,X=1/data,Y=data+2,Z=2/data) So... I am currently generating a table and a geom_boxplot and squish em together with gridExtra. But,...