Learn R Programming

tabbycat (version 0.18.0)

Tabulate and Summarise Categorical Data

Description

Functions for tabulating and summarising categorical variables. Most functions are designed to work with dataframes, and use the 'tidyverse' idiom of taking the dataframe as the first argument so they work within pipelines. Equivalent functions that operate directly on vectors are also provided where it makes sense. This package aims to make exploratory data analysis involving categorical variables quicker, simpler and more robust.

Copy Link

Version

Install

install.packages('tabbycat')

Monthly Downloads

187

Version

0.18.0

License

MIT + file LICENSE

Maintainer

Oliver Hawkins

Last Published

August 22nd, 2023

Functions in tabbycat (0.18.0)

safe_min

Calculate min but suppress the warning when all values are missing
cat_summarise

Summarise the values of a numerical variable for each group within a categorical variable
cat_count

Count the frequency of discrete values in the column of a dataframe
safe_mean

Calculate mean but return NA rather than NaN when values are missing
tabbycat

tabbycat: Tabulate and summarise categorical data
cat_vcount

Count the frequency of discrete values in a categorical vector
cat_contrast

Calculate the frequency of discrete values in one categorical variable for each of two mutually exclusive groups within another categorical variable
cat_compare

Calculate the frequency of discrete values in one categorical variable for each group within another categorical variable
safe_max

Calculate max but suppress the warning when all values are missing