Learn R Programming

fastrep (version 0.7)

tab: tab

Description

This function is used to create cross_tbl

Usage

tab(obj, var1, var2)

Value

A tibble to create cross_tbl

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)

Examples

Run this code
mtcars |>
  fastrep::cross_tbl(cyl, am)

Run the code above in your browser using DataLab