R2HTML and summary of dynlm model

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

R2HTML and summary of dynlm model

Stephen J. Barr-2

I am having a bit of trouble with using R2HTML to produce the summary
of a dynlm model. I do an HTMLStart(), then have a for loop creating
different models, and I am trying to print out each model. I can use
HTML() on the model object itself, but I cannot get it to print to
summary object. Any thoughts / experience?

>HTML("trying to print summary")
>HTML(rModel.Seasonal)  # THIS WORKS
>HTML(summary(rModel.Seasonal, doplot=FALSE)) # this FAILS
+ }
Error in if (xi == xj) 0L else if (xi > xj) 1L else -1L :
  argument is of length zero
[1] "html//report2.html"

Stephen J. Barr
University of Washington
WEB: www.econsteve.com

[hidden email] mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.