format_nicely: format_nicely

View source: R/format-functions.R

format_nicelyR Documentation

format_nicely

Description

format_nicely

Usage

format_nicely(
  x,
  round = 2,
  effect.name = NULL,
  transform = NULL,
  t.name = NULL,
  hide.insig = T,
  escape.pc = F,
  p_digits = 3,
  leading.zero = FALSE,
  ci_sep = ", ",
  include_i2 = TRUE
)

Arguments

x

a meta_ninja

round

a scalar.

effect.name

a string. If provided, will rename Estimate column with string provided.

transform

a function. If provided will transform effects and confidence intervals.

t.name

a character string. If provided, will name the transformed column.

hide.insig

a bool.

escape.pc

a bool. If TRUE, % symbols will be escaped in header, captions and notes.

p_digits

a scalar. The number of digits to round p to.

leading.zero

a bool. If TRUE, p-values will have leading zeros

ci_sep

separator for confidence intervals

include_i2

A bool, should i2 be included next to baseline?


JConigrave/msemtools documentation built on Aug. 10, 2022, 12:09 p.m.