powered by
Sugar function for default kable output.
kb(d, fnote = NULL, cap = NULL, sig = 8, dig = 2, src = 0, omit = "")
A kable object.
<dfr> A data frame.
<dfr>
<chr> Footnote.
<chr>
<chr> Caption.
<int> Number of significant digits to compute.
<int>
<int> Number of decimal places to display.
<int> Either 1 or 2 to add source label over 1 or 2 lines.
<chr> Text to omit from the source label.
mtcars |> head() |> kb() mtcars |> head() |> kb(src=1) mtcars |> head() |> kb("Footnote") mtcars |> head() |> kb("Footnote",src=1) mtcars |> head() |> kb(sig=2,dig=1)
Run the code above in your browser using DataLab