powered by
Sugar function for default flextable output.
ft(d, fnote = NULL, ttl = NULL, sig = 8, dig = 2, src = 0, omit = "")
A flextable object.
<dfr> A data frame.
<dfr>
<chr> Footnote.
<chr>
<chr> Title.
<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() |> ft() mtcars |> head() |> ft(src=1) mtcars |> head() |> ft("Footnote") mtcars |> head() |> ft("Footnote",src=1) mtcars |> head() |> ft(sig=2,dig=1)
Run the code above in your browser using DataLab