Learn R Programming

cards (version 0.5.1)

.one_row_ard_to_nested_list: Convert One Row to Nested List

Description

Convert One Row to Nested List

Usage

.one_row_ard_to_nested_list(x)

Value

an expression that represents an element of a nested list

Arguments

x

(data.frame)
an ARD data frame of class 'card' with one row

Examples

Run this code
ard_continuous(mtcars, variables = mpg) |>
  dplyr::filter(dplyr::row_number() %in% 1L) |>
  apply_fmt_fn() |>
  cards:::.one_row_ard_to_nested_list()

Run the code above in your browser using DataLab