Site icon R-bloggers

pander 0.3.8 is out

[This article was first published on rapporter, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
I have just released a new version of pander to CRAN with some minor fixes and some (hopefully) useful new features to generate markdown tables beside other tools:
> panderOptions('table.split.table', Inf)
> pander(lm(Sepal.Width ~ Species + Sepal.Length, data = iris), covariate.labels = c('Sepal Length'), omit = 'Species', summary = TRUE)

---------------------------------------------------------------
               Estimate   Std. Error   t value   Pr(>|t|) 
------------------ ---------- ------------ --------- ----------
 **Sepal Length**    0.3499      0.0463      7.557   4.187e-12 

 **(Intercept)**     1.677       0.2354      7.123   4.456e-11 
---------------------------------------------------------------


-------------------------------------------------------------
 Observations   Residual Std. Error   $R^2$   Adjusted $R^2$ 
-------------- --------------------- ------- ----------------
     150               0.289         0.5693       0.5604     
-------------------------------------------------------------

Table: Fitting linear model: Sepal.Width ~ Species + Sepal.Length


For more details, see the NEWS on GitHub or right in your R console:

> news(package = 'pander')

To leave a comment for the author, please follow the link and comment on their blog: rapporter.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.