questionr0.8.2 package

Functions to Make Surveys Processing Easier

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

cprop

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 fact...

describe

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

femmes

A fertility survey - "femmes" table

first_non_null

Return first non-null of two values

format.proptab

S3 format method for proptab objects.

freq.na

Generate frequency table of missing values.

freq

Generate frequency tables.

freqtable

Frequency table of variables

ggsurvey

Easy ggplot2 with survey objects

households

A fertility survey - "households" table

icut

Interactive conversion from numeric to factor

iorder

Interactive reordering of factor levels

irec

Interactive recoding

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

print.proptab

S3 print method for proptab objects.

prop

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 ...

reexports

Objects exported from other packages

rename.variable

Rename a data frame column

rm.unused.levels

Remove unused levels

rprop

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.

Set of functions to make the processing and analysis of surveys easier : interactive shiny apps and addins for data recoding, contingency tables, dataset metadata handling, and several convenience functions.

  • Maintainer: Julien Barnier
  • License: GPL (>= 2)
  • Last published: 2026-01-21