| lt_indent | R Documentation |
Add hierarchical indentation to the first column of specified rows.
lt_indent(x, rows, level = 1)
x |
An |
rows |
Integer vector of 1-based row indices to indent. |
level |
Indent level (default 1). Each level adds one unit of left padding. |
x with the indentation recorded.
d = data.frame(label = c("Overall", "Male", "Female"), n = c(100, 55, 45))
lt(d) |> lt_indent(2:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.