Re: [R] another automation question

2009-08-01 Thread Mehdi Khan
your name is annoying. On Fri, Jul 31, 2009 at 2:01 PM, RR! cwal...@usgs.gov wrote: This code works: x-letters[1:6] ycols-23:28 xcols-rep(c(3,4,5,8),each=length(ycols)) somertime-function(i,j)somers2(Pred_pres_a_indpdt[,i,,], population[,j]) results-mapply(somertime,xcols,ycols)

[R] another automation question

2009-07-31 Thread RRRRRRRRRR!
This code works: x-letters[1:6] ycols-23:28 xcols-rep(c(3,4,5,8),each=length(ycols)) somertime-function(i,j)somers2(Pred_pres_a_indpdt[,i,,], population[,j]) results-mapply(somertime,xcols,ycols) How can I make variable h work? x-letters[1:6] ycols-23:28

Re: [R] another automation question

2009-07-31 Thread stephen sefick
where is the variable used? On Fri, Jul 31, 2009 at 4:01 PM, RR!cwal...@usgs.gov wrote: This code works: x-letters[1:6] ycols-23:28 xcols-rep(c(3,4,5,8),each=length(ycols)) somertime-function(i,j)somers2(Pred_pres_a_indpdt[,i,,], population[,j])