| separate_star_column | R Documentation |
Add columns that separate significance stars from numbers
separate_star_column(
data,
...,
superscript = TRUE,
star = "\\*",
star_replace = "\\\\*"
)
data |
data.frame or tibble |
... |
Column name or tidyselect function. Select columns |
superscript |
make stars superscript |
star |
character to use for stars (default: "\*") |
star_replace |
character to replace stars with (default: "\\*") |
data.frame or tibble
tibble::tibble(x = c(".45", ".58*", ".68**"),
y = c(1,2,3),
z = 4:6) |>
separate_star_column(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.