Displaying 1 result from an estimated 1 matches for "gyve".
Did you mean:
give
2011 Mar 04
2
How to copy data from data.frame to matrix
...t to simple matrix. I have define this matrix like this:
> data.matrix <- matrix(nrow=nDays, ncol=nSymbols, dimnames=list(days,
symbols))
then i just copy values to the matrix using for() loop, but it seems to take
very long time. Is is a more fast way to do it in R? I know, what i can just
gyve s$value as source data to the matrix, but problem is, what for some
symbols couple days could be just missed.
Cheers,
Dima
[[alternative HTML version deleted]]