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 Nov. 6, 2024, 11:07 p.m.