Learn R Programming

⚠️There's a newer version (0.99.31.8.3) of this package.Take me there.

memisc (version 0.99.31.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

7,994

Version

0.99.31.3

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Martin Elff

Last Published

October 4th, 2022

Functions in memisc (0.99.31.3)

List

Create a list and conveniently supply names to its elements
Means

Means for groups of observations
Descriptives

Vectors of Univariate Sample Statistics
Write

Write Codebooks and Variable Descriptions into a Text File
foreach

Loop over Variables in a Data Frame or Environment
applyTemplate

Apply a Formatting Template to a Numeric or Character Vector
Groups

Operate on grouped data in data frames and data sets
as.symbols

Construction of Lists of Symbols
annotations

Adding Annotations to Objects
Iconv

Convert Annotations, and Value Labels between Encodings
cases

Distinguish between Cases Specified by Logical Conditions
data.set

Data Set Objects
as.array

Converting Data Frames into Arrays
contract

Contract data into pattern-frequency format
data.set manipulation

Manipulation of Data Sets
items-to-vectors

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

Convenience Methods for Setting Contrasts
format_html.codebook

Format Codebooks as HTML
format_html.ftable

Format "Flattened Tables" as HTML
codeplan

Describe structure of Data Sets and Importers
Memisc

Introduction to the 'memisc' Package
genTable

Generic Tables and Data Frames of Descriptive Statistics
By

Conditional Evaluation of an Expression
items

Survey Items
getSummary

Get Model Summaries for Use with "mtable"
mtable_format_delim

Format for 'mtable' Objects for Writing into File
mtable_format_html

HTML Formatting for 'mtable' Results
Substitute

Substitutions in Language Objects
collect

Collect Objects
Reshape

Reshape data frames or data sets
mtable_format_latex

Format 'mtable' Results for LaTeX
html

Building Blocks for HTML Code
mtable_format_print

Print Format for 'mtable' Objects
importers

Object Oriented Interface to Foreign Files
measurement

Levels of Measurement of Survey Items
query

Query an Object for Information
styles

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

Value Labels
recode

Recode Items, Factors and Numeric Vectors
Utility classes

Named Lists, Lists of Items, and Atomic Vectors
measurement_autolevel

Automatically Adapt Measurement Levels
percent

Table of Percentages with Percentage Base
value.filter

Value Filters
memisc-deprecated

Deprecated Functions in Package memisc
Table

One-Dimensional Table of Frequences and/or Percentages
deduplicate_labels

Handle duplicated labels
syntactic-sugar

Syntactic Sugar for Setting Annotations and Attributes
percentages

Easy Creation of Tables of Percentages
dimrename

Change dimnames, rownames, or colnames
wild.codes

Table of frequencies for unlabelled codes
Sapply

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

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

Add Alternative Variance Estimates to Models Estimates
tibbles

Interface to Packages 'tibble' and 'haven'
view

A Generic Viewing Function
codebook

Generate a Codebook of a Data Set
mtable

Comparative Table of Model Estimates
reversed

Reverse the codes of a survey item or the levels of a factor
duplicated_labels

Check for and report duplicated labels
format_html

Format Objects in HTML, show the HTML Format or Write it to a File
view_html

HTML Output for 'view.
to.data.frame

Convert an Array into a Data Frame
format_md

Format Codebooks as Markdown
sample-methods

Take a Sample from a Data Frame-like Object
negative match

Negative Match
relabel

Change labels of factors or labelled objects
rename

Change Names of a Named Object
ftable-matrix

Combining flattened tables.
reorder.array

Reorder an Array or Matrix
retain

Retain Objects in an Environment
sort-methods

Convenience Methods to Sort Data Frames and Data Sets
toLatex

Additional Methods for LaTeX Representations for R objects
Mean

Convenience wrappers for common statistical functions
xapply

Apply a function to ranges of variables
trim_labels

Trim Codes from the Labels of an Item