as_gtsummary | R Documentation |
This function ingests a data frame and adds the infrastructure around it to make it a gtsummary object.
as_gtsummary(table_body, ...)
table_body |
( |
... |
other objects that will be added to the gtsummary object list |
Function uses table_body
to create a gtsummary object
gtsummary object
mtcars[1:2, 1:2] |>
as_gtsummary()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.