Closed luccapavan closed 8 years ago
Could you provide a minimal example?
I use the chunk...
library(BMR)
library(knitr)
stat <- stationarity(rdatapk2[,2:5], 4, 8)
kable(stat, caption = "Stationarity", format = "latex", booktabs = TRUE, longtable = TRUE, digits = 2, )
and the output is one table for KPSS test, another table for ADF test, and the last for Bayesian Information Criterion. Unfortunately, kable only do one caption. I need three captions for these tables.
The example is not minimal. What is BMR? It is not a package on CRAN. I don't know the data structure of stat
, but the worst case is you call kable()
three times with different input and captions.
Thanks, I use three times kable() for stas$KPSS, stats$ADF, stats$ADFlags ans works...
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
With just one kable command, knitr generates 3 tables, so i need 3 captions in the same kable argument. How I can do this?