tableau: Proportion Table for Univariate Analysis

Description Usage Arguments Value Author(s) References Examples

Description

Produces a latex-like table of the variable proportions.

Usage

1

Arguments

var

is the vector or the object to be computed proportions.

title

A character vector as title.

Value

A data frame object.

Author(s)

Daniel Marcelino

References

http://danielmarcelino.com/SciencePo

Examples

1
2
3
4
5
 x <- rep(1:5, 100)

cap <- "My Table of Proportions"

tableau(x, title = cap)

SciencePo documentation built on May 2, 2019, 5:53 p.m.