cb_sumtab: Summary Table of responses for codebook

View source: R/cb_sumtab.R

cb_sumtabR Documentation

Summary Table of responses for codebook

Description

Summary Table of responses for codebook

Usage

cb_sumtab(metadata, response, num.var, na_sep = TRUE, type)

Arguments

metadata

a data.frame object with survey metadata

response

a data.frame object with survey response data

num.var

single numeric value indexing column of variable in metadata

na_sep

a boolean indicating use of SEP coding rules (defaults to TRUE)

type

a character indicating variable type (factor, numeric)

Value

table with counts (for factors) or descriptive summary (for numerics) of responses in Latex format


bonschorno/sep documentation built on April 1, 2022, 11:37 a.m.