Displaying 1 result from an estimated 1 matches for "tp4159888p4160262".
2011 Dec 05
3
iterative variable names
Hi,
I'm trying to assign iterative names to variable, but all my attempts have
failed. I have a loop, and for every iteration, I need to create a variable,
and I'd like to name them iteratively, such as:
for(i in 1:10)
{
x_i <- c(values)
}
I need it to return ten variables: x_1, x_2, ..., x_10
How can I do it?
Thank you very much!
Beatriz
--
View this message in context: