separate_star_column: Add columns that separate significance stars from numbers

View source: R/tables.R

separate_star_columnR Documentation

Add columns that separate significance stars from numbers

Description

Add columns that separate significance stars from numbers

Usage

separate_star_column(
  data,
  ...,
  superscript = TRUE,
  star = "\\*",
  star_replace = "\\\\*"
)

Arguments

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: "\\*")

Value

data.frame or tibble

Examples

tibble::tibble(x = c(".45", ".58*", ".68**"),
               y = c(1,2,3),
               z = 4:6) |>
               separate_star_column(x)

apa7 documentation built on May 26, 2026, 5:07 p.m.