tab {fastrep}R Documentation

tab

Description

This function is used to create cross_tbl

Usage

tab(obj, var1, var2)

Arguments

obj

Object used to create the table. Data frame, list, or environment (or object coercible by as.data.frame to a data frame)

var1

Variable that you want the table (not written in string format)

var2

Variable that you want on the top of the table (not written in string format)

Value

A tibble to create cross_tbl

Examples

mtcars |>
  fastrep::cross_tbl(cyl, am)


[Package fastrep version 0.7 Index]