| as_card | R Documentation | 
Convert data frames to ARDs of class 'card'.
as_card(x)
| x | ( | 
an ARD data frame of class 'card'
data.frame(
  stat_name = c("N", "mean"),
  stat_label = c("N", "Mean"),
  stat = c(10, 0.5)
) |>
  as_card()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.