search for: x_past

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

Did you mean: x_paste
1999 Nov 30
1
Character2function
If I have several character vectors, for example: a_c('data.') b_c('_myfunction(') c_c('vect.') d_c(')') and, j_1 I can build a vector using paste: x_paste(a,j,b,c,j,d,sep="") x="data.1_myfunction(vect.1)" I have n numeric vectors (vect.1...vect.n) Then, if I could evaluate the string x, I would calculate the result of my function in n-vectors using a loop for (j in 1:n){ x_paste(a,j,b,c,j,d,sep="") function.to.evalu...