path_enriched_df | R Documentation |
TableTree
object to Path-Enriched data.frameTransform TableTree
object to Path-Enriched data.frame
path_enriched_df(tt, path_fun = collapse_path, value_fun = collapse_values)
tt |
|
path_fun |
function. Function to transform paths into single-string row/column names. |
value_fun |
function. Function to transform cell values into cells of
the data.frame. Defaults to |
A data frame of tt
's cell values (processed by
value_fun
, with columns named by the full column paths (processed by
path_fun
and an additional row_path
column with the row paths
(processed by by path_fun
).
lyt <- basic_table() %>%
split_cols_by("ARM") %>%
analyze(c("AGE", "BMRKR2"))
tbl <- build_table(lyt, ex_adsl)
path_enriched_df(tbl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.