On Sun, Feb 23, 2014 at 9:06 PM, C W <tmrs...@gmail.com> wrote:
> Is there a way to rbind this?  Do I have to use use a package like 'zoo' and
> merge()?
>
> p <- predict(model, data.frame(t = 1, q = factor(1, 1:4))
> rbind(tsdat, p)
>


If you want to append this to the end of the series then try this:

ts(c(tsdat, p), start = start(tsdat), frequency = frequency(tsdat))



-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to