Factor: Use a variable as a factor to give rows in a table.

FactorR Documentation

Use a variable as a factor to give rows in a table.

Description

Use a variable as a factor to give rows in a table.

Usage

Factor(
  x,
  name = deparse(expr),
  levelnames = levels(x),
  texify = getOption("tables.texify", FALSE),
  expr = substitute(x),
  override = TRUE
)

vincentarelbundock/gtsummary documentation built on Feb. 15, 2025, 11:22 p.m.