is subtable part of a package?

Bob Tennent rdtennent at gmail.com
Sat Mar 25 00:56:13 CET 2023


Look at the subfigure package.  The ccaption package might also be useful.

On Fri, Mar 24, 2023 at 4:18 PM Christopher W. Ryan via texhax <
texhax at tug.org> wrote:

> With Sweave, I use the latex() command in the Hmisc R package to produce
> LaTeX code from an R object, that then compiles into a table nicely in
> LaTeX.  I have a table object in R from which I want to produce a
> two-part table.
>
> I'd like the first 5 rows of the following to be part of a table, with
> its own subcaption, and then the last 5 lines in a second part of the
> same overall table, with its own subcaption.
>
>                               Estimate Std. Error
> count_(Intercept)            0.9977251  0.1865826
> count_e.lab.catshs          -0.0403362  0.0539010
> count_e.lab.catsurveillance  0.0653787  0.0582526
> count_daily.prev.smooth     -1.1695954  0.7072595
> count_testAge               -0.0034302  0.0082225
> zero_(Intercept)            -1.3169734  0.6009005
> zero_e.lab.catshs           -1.2867920  0.3643731
> zero_e.lab.catsurveillance  -0.0200851  0.1929485
> zero_daily.prev.smooth       3.8041955  2.2311660
> zero_testAge                -0.0037691  0.0264094
>
>
>
> I found this rather old entry on tex.stackexchange
>
> https://tex.stackexchange.com/questions/150353/subtables-using-rhmisc
>
> that I think would do the job, with suitable R code, but I cannot find that
>
> \begin{subtable}{.5\textwidth}
>
> command documented anywhere. Is it part of "base" LaTeX (I'm using
> TeXLive 2022 on Windows 10)? Part of a package?
>
> Thanks.
>
> --Chris Ryan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20230324/158d48b6/attachment.html>


More information about the texhax mailing list.