Learn R Programming

memisc (version 0.99.31.8.3)

Management of Survey Data and Presentation of Analysis Results

Description

An infrastructure for the management of survey data including value labels, definable missing values, recoding of variables, production of code books, and import of (subsets of) 'SPSS' and 'Stata' files is provided. Further, the package allows to produce tables and data frames of arbitrary descriptive statistics and (almost) publication-ready tables of regression model estimates, which can be exported to 'LaTeX' and HTML.

Copy Link

Version

Install

install.packages('memisc')

Monthly Downloads

10,927

Version

0.99.31.8.3

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Martin Elff

Last Published

April 14th, 2025

Functions in memisc (0.99.31.8.3)

applyTemplate

Apply a Formatting Template to a Numeric or Character Vector
cases

Distinguish between Cases Specified by Logical Conditions
annotations

Adding Annotations to Objects
as.array

Converting Data Frames into Arrays
attr-operators

Operators for Setting Annotations and Attributes
Write

Write Codebooks and Variable Descriptions into a Text File
Substitute

Substitutions in Language Objects
as.symbols

Construction of Lists of Symbols
assign_if

Assign a values to a variable for instances where a condition is met
Table

One-Dimensional Table of Frequences and/or Percentages
coarsen

Coarsen a vector into a factor with a lower number of levels
deduplicate_labels

Handle duplicated labels
contr

Convenience Methods for Setting Contrasts
charTrans

Character Translation of Aspects of Objects
codeplan

Describe structure of Data Sets and Importers
data.set manipulation

Manipulation of Data Sets
data.set

Data Set Objects
contract

Contract data into pattern-frequency format
codebook

Generate a Codebook of a Data Set
collect

Collect Objects
format_html

Format Objects in HTML, show the HTML Format or Write it to a File
format_html.ftable

Format "Flattened Tables" as HTML
format_html.codebook

Format Codebooks as HTML
dimrename

Change dimnames, rownames, or colnames
genTable

Generic Tables and Data Frames of Descriptive Statistics
ftable-matrix

Combining flattened tables.
duplicated_labels

Check for and report duplicated labels
format_md

Format Codebooks as Markdown
getSummary

Get Model Summaries for Use with "mtable"
html

Building Blocks for HTML Code
measurement_autolevel

Automatically Adapt Measurement Levels
memisc-deprecated

Deprecated Functions in Package memisc
labels

Value Labels
mtable_format_delim

Format for 'mtable' Objects for Writing into File
measurement

Levels of Measurement of Survey Items
importers

Object Oriented Interface to Foreign Files
items-to-vectors

How Survey Items Are Converted into "Ordinary" Data Vectors
items

Survey Items
negative match

Negative Match
query

Query an Object for Information
mtable_format_html

HTML Formatting for 'mtable' Results
neg2mis

Mark Negative Values as Missing
percentages

Easy Creation of Tables of Percentages
rename

Change Names of a Named Object
mtable_format_latex

Format 'mtable' Results for LaTeX
percent

Table of Percentages with Percentage Base
relabel

Change labels of factors or labelled objects
reorder.array

Reorder an Array or Matrix
recode

Recode Items, Factors and Numeric Vectors
sort-methods

Convenience Methods to Sort Data Frames and Data Sets
mtable_format_print

Print Format for 'mtable' Objects
mtable

Comparative Table of Model Estimates
retain

Retain Objects in an Environment
toLatex

Additional Methods for LaTeX Representations for R objects
to.data.frame

Convert an Array into a Data Frame
styles

Formatting Styles for Coefficients, Factor Contrasts, and Summary Statistics
view_html

HTML Output for 'view.
wild.codes

Table of frequencies for unlabelled codes
tibbles

Interface to Packages 'tibble' and 'haven'
withSE

Add Alternative Variance Estimates to Models Estimates
xapply

Apply a function to ranges of variables
value.filter

Value Filters
view

A Generic Viewing Function
Mean

Convenience wrappers for common statistical functions
reversed

Reverse the codes of a survey item or the levels of a factor
sample-methods

Take a Sample from a Data Frame-like Object
Utility classes

Named Lists, Lists of Items, and Atomic Vectors
trim_labels

Trim Codes from the Labels of an Item
within-operators

Operators to abbreviate use of "with" and "within"
Means

Means for groups of observations
Sapply

A Dimension Preserving Variant of "sapply" and "lapply"
List

Create a list and conveniently supply names to its elements
Groups

Operate on grouped data in data frames and data sets
Descriptives

Vectors of Univariate Sample Statistics
Reshape

Reshape data frames or data sets
By

Conditional Evaluation of an Expression
Iconv

Convert Annotations, and Value Labels between Encodings
Memisc

Introduction to the 'memisc' Package
foreach

Loop over Variables in a Data Frame or Environment