I use summary()dates for the document to create simple summaries of variable variables knitrand want the results to be well formatted.
summary(some_date)
creates the results I want (the values are displayed as dates), but it is not beautifully formatted. So I tried:
pander::pander(summary(some_date))
This gives well-formatted results, but the values are displayed as integers instead of dates. (This is true for date dates, POSIXct and POSIXlt).
Is there a way to format summary()dates results well in a document knitr? Maybe there is some kind of package different from panderthat which is better suited for this task.
Examples below:
summary(some_date)
#
#
#
#
pander::pander(summary(some_date))
Min. 1st Qu. Median Mean 3rd Qu. Max.
16191 16481 16603 16560 16686 16760
sessionInfo()
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#