tbl_sum.cnd_df | R Documentation |
Conditioned tibble header print method. This S3 method adds an extra line
in the header of a tibble that indicates the tibble is a conditioned tibble
(# Cond. tbl:
) followed by the tally of the conditioning vector: number
of TRUE, FALSE and NA values: e.g., 1/1/1
.
## S3 method for class 'cnd_df'
tbl_sum(x, ...)
x |
A conditioned tibble of class |
... |
Additional arguments passed to the default print method. |
A character vector with header values of the conditioned data frame.
ctl_new_rowid_pillar.cnd_df()
.
df <- data.frame(x = c(1L, NA_integer_, 3L))
(cnd_df <- condition_add(dat = df, x >= 2L))
pillar::tbl_sum(cnd_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.