View source: R/helpers_variables.R
str_collapse | R Documentation |
Variable útil para colapsar en una sola casilla _list variables_ en un tibble que quiera ser mostrad en una tabla
str_collapse(.data, .var, collapse = ", ")
.data |
tibble |
.var |
variable name |
collapse |
string, string con el que se unirán los textos. Por defecto ", ". |
df <- data.frame(x = c('a', 'b', 'c'))
str_collapse(df, x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.