Displaying 1 result from an estimated 1 matches for "output50".
Did you mean:
output0
2008 Feb 01
3
Converting a character string into an object variable
R-helpers:
Assume that I want to create a series of sequentially named R objects. For
example, I might want to call these objects V1, V2, V3 ... V50. To do this,
I thought of some sort of looping function like:
input.value <- seq(1:50) * 3
for(i in 1:50){
paste("V", i, sep="") <- input.value[i]
}
Of course this loop will not work since the paste function