inst/doc/tab.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(qacBase)

## ---- include=TRUE------------------------------------------------------------
tab(cardata, driven_wheels)

## ---- include=TRUE------------------------------------------------------------
tab(cardata, driven_wheels, total=TRUE)

## ---- include=TRUE------------------------------------------------------------
tab(cardata, driven_wheels, total=TRUE, sort=TRUE)

## ---- include=TRUE------------------------------------------------------------
tab(cardata, make, sort = TRUE, na.rm = TRUE, total = TRUE, maxcat=10)

## ---- include=TRUE------------------------------------------------------------
tab(cardata, make,  minp=0.05)

## ---- include=TRUE------------------------------------------------------------
tab(cardata, vehicle_style,  sort=TRUE, plot=TRUE)

tab(cardata, vehicle_style, sort=TRUE, cum=TRUE, plot=TRUE)

Try the qacBase package in your browser

Any scripts or data that you put into this service are public.

qacBase documentation built on Feb. 10, 2022, 1:07 a.m.