# Functions to Make Surveys Processing Easier

## Documentation for package ‘questionr’ version 0.8.2

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

%||% | Return first non-null of two values
addNAstr | Transform missing values of a factor to an extra level
children | A fertility survey - "children" table
chisq.residuals | Return the chi-squared residuals of a two-way frequency table.
clipcopy | Transform an object into HTML and copy it for export
clipcopy.default | Transform an object into HTML and copy it for export
clipcopy.proptab | Transform an object into HTML and copy it for export
copie | Transform an object into HTML and copy it for export
copie.default | Transform an object into HTML and copy it for export
copie.proptab | Transform an object into HTML and copy it for export
cprop | Column percentages of a cross-tabulation table (2 dimensions or more).
cprop.data.frame | Column percentages of a cross-tabulation table (2 dimensions or more).
cprop.matrix | Column percentages of a cross-tabulation table (2 dimensions or more).
cprop.table | Column percentages of a cross-tabulation table (2 dimensions or more).
cprop.tabyl | Column percentages of a cross-tabulation table (2 dimensions or more).
cramer.v | Compute Cramer's V of a two-way frequency table
cross.multi.table | Two-way frequency table between a multiple choices question and a factor
describe | Describe the variables of a data.frame
describe.character | Describe the variables of a data.frame
describe.data.frame | Describe the variables of a data.frame
describe.default | Describe the variables of a data.frame
describe.factor | Describe the variables of a data.frame
describe.haven_labelled | Describe the variables of a data.frame
describe.numeric | Describe the variables of a data.frame
duplicated2 | Determine all duplicate elements
enfants | A fertility survey - "enfants" table
escape_regex | Escape regex special chars Code directly taken from Hmisc::escapeRegex
fecondite | A fertility survey
femmes | A fertility survey - "femmes" table
fertility | A fertility survey
first_non_null | Return first non-null of two values
format.proptab | S3 format method for proptab objects.
freq | Generate frequency tables.
freq.na | Generate frequency table of missing values.
freqtable | Frequency table of variables
freqtable.default | Frequency table of variables
freqtable.survey.design | Frequency table of variables
ggsurvey | Easy ggplot2 with survey objects
happy | Data related to happiness from the General Social Survey, 1972-2006.
hdv2003 | Histoire de vie 2003
households | A fertility survey - "households" table
icut | Interactive conversion from numeric to factor
iorder | Interactive reordering of factor levels
irec | Interactive recoding
lprop | Row percentages of a cross-tabulation table (2 dimensions or more).
ltabs | Cross tabulation with labelled variables
menages | A fertility survey - "menages" table
multi.split | Split a multiple choices variable in a series of binary variables
multi.table | One-way frequency table for multiple choices question
na.rm | Remove observations with missing values
odds.ratio | Odds Ratio
odds.ratio.factor | Odds Ratio
odds.ratio.glm | Odds Ratio
odds.ratio.matrix | Odds Ratio
odds.ratio.multinom | Odds Ratio
odds.ratio.numeric | Odds Ratio
odds.ratio.table | Odds Ratio
print.description | Describe the variables of a data.frame
print.odds.ratio | Odds Ratio
print.proptab | S3 print method for proptab objects.
prop | Global percentages of a cross-tabulation table (2 dimensions or more).
prop.data.frame | Global percentages of a cross-tabulation table (2 dimensions or more).
prop.matrix | Global percentages of a cross-tabulation table (2 dimensions or more).
prop.tabyl | Global percentages of a cross-tabulation table (2 dimensions or more).
prop_table | Global percentages of a cross-tabulation table (2 dimensions or more).
qload | Load one or more packages, installing them first if necessary
qscan | Scan R scripts and load/install all detected packages
quant.cut | Transform a quantitative variable into a qualitative variable
recode.na | Recode values of a variable to missing values, using exact or regular expression matching.
rename.variable | Rename a data frame column
renomme.variable | Rename a data frame column
residus | Return the chi-squared residuals of a two-way frequency table.
rm.unused.levels | Remove unused levels
rp2012 | 2012 French Census - French cities of more than 2000 inhabitants
rp2018 | 2018 French Census - French cities of more than 2000 inhabitants
rprop | Row percentages of a cross-tabulation table (2 dimensions or more).
rprop.data.frame | Row percentages of a cross-tabulation table (2 dimensions or more).
rprop.matrix | Row percentages of a cross-tabulation table (2 dimensions or more).
rprop.table | Row percentages of a cross-tabulation table (2 dimensions or more).
rprop.tabyl | Row percentages of a cross-tabulation table (2 dimensions or more).
tabs | Weighted Crossresult
women | A fertility survey - "women" table
wtd.mean | Weighted mean and variance of a vector
wtd.table | Weighted one-way and two-way frequency tables.
wtd.var | Weighted mean and variance of a vector