How to append new value to xts object without creating a new one?

You can use c or rbind on an xts object to append row-wise.

You can use c or rbind on an xts object to append row-wise: c(ts, xts(11, Sys.Date()+11)) EDIT : Note that this produces a warning mismatched types: converting objects to numeric. To remove the warning, first coerce the value to numeric, e. G: c(ts, xts(as.

Integer(11), Sys.Date()+11)) ,1 2011-12-01 1 2011-12-02 2 2011-12-03 3 2011-12-04 4 2011-12-05 5 2011-12-06 6 2011-12-07 7 2011-12-08 8 2011-12-09 9 2011-12-08 10 2011-12-09 11.

Warning message: In c. Xts(ts, xts(11, Sys.Date() + 11)) : mismatched types: converting objects to numeric – LouisChiffre Dec 1 at 11:00 @LouisChiffre I have edited the answer. You can remove the warning by explicitly coercing the data to integer, before passing to xts – Andrie Dec 1 at 11:20 good, thanks ;) – LouisChiffre Dec 1 at 11:44.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions