section_report2: section report II

Description Usage Arguments

Description

This function creates a report based on a specific section as well as a grouping variable. The numeric_table, discrete_table and multi_table functions are used to generate the LaTeX output

Usage

1
2
3
4
5
section_report2(x, qss = qs, sec = "A", sectionvarname = "section",
  question.text = "question.text", qs.varname = "question.name",
  groupvar = "", multicol = "question.type", multiname = "M",
  debug = FALSE, forcegvar = FALSE, varSizeN = "0.15",
  levSizeN = "0.05", varSizeC = "0.15", levSizeC = "0.15")

Arguments

x

Data frame containing the survey results, typically the DES

qss

Data frame containing the questions and responses

sec

Character vector referring to the section under consideration

sectionvarname

Character vector containing the name of the section column

question.text

Character vector containing the name of the question text column

groupvar

Character vector containing the grouping variable under consideration

multicol

Character vector containing the name of the question type column

multiname

Character vector referring to the multiple choice questions

debug

Logical to display function steps

forcegvar

Logical that forces a large amount of grouping variables to be processed if TRUE. This will cause an ugly and unrefined table output


Boshoffsmit/novaReport documentation built on May 6, 2019, 8 a.m.