Displaying 1 result from an estimated 1 matches for "itsobject".
Did you mean:
isobject
2004 Aug 27
2
`its' questions
...> y-x1
Error in y - x1 : dates must match
(But they are identical, as the print commands show. x1 was written
out and read back into y).
Problem 3: How would I convert an its object into an ordinary
numerical matrix or data frame? I have succeeded with statements
like x <- as.numeric(itsobject[,2]) which extracts the 2nd
column. But this 'wastes' the dates. How do I make a data frame out
of the its object, where one of the columns is the dates? How do I
make a matrix out of the its object, so that I don't have to attack
one vector at a time using as.numeric() as shown...