propcount: Grouped counts with proportions

View source: R/primitives.R

propcountR Documentation

Grouped counts with proportions

Description

Grouped counts with proportions

Usage

propcount(data, by, margin = NULL)

Arguments

data

A data.frame.

by

Character vector of column names identifying groups or join keys.

margin

Column(s) defining the totals used to compute proportions.

Value

A basetable of counts (and proportions when margin is supplied).


basetable documentation built on Sept. 18, 2026, 9:13 a.m.