search for: s_indpdt

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

Did you mean: _indpdt
2009 Jul 31
1
function problem
...to be evaluated in various tables. I need to apply a function in the following manner somers2(name1,name2). name1 is a vector of x inputs for the function which correspond to a vector of y inputs in name2. y<-rep(c(3,4,5,8),6) z<-rep(c(23,24,25,26,27,28),4) name1<-sprintf("Pred_pres_%s_indpdt[,%s,,]",x,y) name2<-sprintf("population[,%s]",z) rank<-function(i,j){ for(i in name1){ for(j in name2){ somers2(i,j) }}} Thanks Robert -- View this message in context: http://www.nabble.com/function-problem-tp24759253p24759253.html Sent from the R help mailing list arch...