Learn R Programming

SciencesPo (version 1.02.12)

tableau: Proportion Table for Univariate Analysis

Description

Produces a latex-like table of the variable proportions.

Usage

tableau(var, title = NULL)

Arguments

var
is the vector or the object to be computed proportions.
title
A character vector as title.

Value

  • A data frame object.

encoding

UTF-8

Examples

Run this code
x <- rep(1:5, 100)

cap <- "My Table With Proportions"

tableau(x, title = cap)

Run the code above in your browser using DataLab