Im trying to initialize a new object name within a loop, so that the object will have the name of the element corresponding to the iteration of the loop for "strings".
Heres what Im trying to do:
strings <- c("One", "Two", "Three")
for i in 1:3{
X <- 3+2
}
Im trying to have the name of X be One. Then the second time, I want a new object called "Two", the third time I want a new object called "Three" etc...
Is this possible?
Thanks!