freq.tab: freq.tab

Description Usage Arguments Value

Description

Creates a simple frequency table and stores it in a data.frame. In additiion it adds attributes (header, sub.header, answer, type) to the output data.frame.

Usage

1
2
freq.tab(x, transpose = FALSE, weights = NULL, digits = 3,
  cumsum = TRUE, screen = TRUE)

Arguments

x

a vector

transpose

transposes the table if set as TRUE

weighs

a numeric vector of weights

cells

a vector indicating which cells to export.Default is c("count", "pct")

Value

a data.frame


antongrau/soc.report documentation built on May 10, 2019, 12:25 p.m.