Displaying 1 result from an estimated 1 matches for "vectorfull".
Did you mean:
vectorcall
2004 Aug 06
1
Elementary questions about data structures
...y
S2 <- iterate(S1)
My question: suppose I want to iterate from 1..10, what is the data
structure that is appropriate to store all these lists?
How, in R, does one make "vectors of lists"? I want to think of the
state vector at time t as a "record" and then I want to have a
vectorfull of them. When I'm done, I want to be able to make pictures
of the time-series of S$x and the time-series of S$y. How is this
done?
I tried some things:
> l1=list(x=2,y=3)
> l2=list(y=7,x=8) # <-- note the order
> S = data.frame(x=1,y=1) # odd way of initialisin...