Description Usage Arguments Examples
Renames columns to values in a row of data frame
1 | row_to_name(data, row_n = 1, delete_row = TRUE)
|
data |
input data set |
row_n |
row number to take names from. Default is row 1 |
delete_row |
logical argument whether to delete row after renaming.
Default is |
1 2 3 | fmt_table1(trial, by = "trt") %>%
purrr::pluck("table1") %>%
row_to_name()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.