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
Hello,

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
>HTMLhr()
+ }
Error in if (xi == xj) 0L else if (xi > xj) 1L else -1L :
  argument is of length zero
HTML> HTMLStop()
[1] "html//report2.html"

Thanks,
-stephen
==========================================
Stephen J. Barr
University of Washington
WEB: www.econsteve.com

______________________________________________
[hidden email] 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.