memisc: Tools for Management of Survey Data and the Presentation of Analysis Results

One of the aims of this package is to make life easier for R users who deal with survey data sets. It provides 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. Further, it provides functionality 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.

AuthorMartin Elff (with contributions from Christopher N. Lawrence, Dave Atkins, Jason W. Morgan, Achim Zeileis)
Date of publication2016-12-19 16:13:05
MaintainerMartin Elff <memisc@elff.eu>
LicenseGPL-2
Version0.99.8
http://www.elff.eu/software/memisc/,http://github.com/melff/memisc/

View on CRAN

Man pages

00memisc: Introduction to the 'memisc' Package

annotations: Adding Annotations to Objects

applyTemplate: Apply a Formatting Template to a Numeric or Character Vector

as-array: Converting Data Frames into Arrays

as.symbols: Construction of Lists of Symbols

By: Conditional Evaluation of an Expression

cases: Distinguish between Cases Specified by Logical Conditions

codebook: Generate a Codebook of a Data Set

collect: Collect Objects

contrasts: Convenience Methods for Setting Contrasts

dataset-manip: Manipulation of Data Sets

dataSets: Data Set Objects

Descriptives: Vectors of Univariate Sample Statistics

dimrename: Change dimnames, rownames, or colnames

Foreach: Loop over Variables in a Data Frame or Environment

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

format_html.codebook: Format Codebooks as HTML

format_html.ftable: Format "Flattened Tables" as HTML

ftable-matrices: Combining flattened tables.

genTable: Generic Tables and Data Frames of Descriptive Statistics

getSummary: Get Model Summaries for Use with "mtable"

html: Building Blocks for HTML Code

Iconv: Convert Annotations, and Value Labels between Encodings

importers: Object Oriented Interface to Foreign Files

items: Survey Items

labels: Value Labels

measurement: Levels of Measurement of Survey Items

mtable: Comparative Table of Model Estimates

mtable-format-delim: Format for 'mtable' Objects for Writing into File

mtable-format-html: HTML Formatting for 'mtable' Results

mtable-format-latex: Format 'mtable' Results for LaTeX

mtable-format-print: Print Format for 'mtable' Objects

nin: Negative Match

percent: Table of Percentages with Percentage Base

percentages: Easy Creation of Tables of Percentages

query: Query an Object for Information

recode: Recode Items, Factors and Numeric Vectors

relabel: Change labels of factors or labelled objects

rename: Change Names of a Named Object

reorder.array: Reorder an Array or Matrix

retain: Retain Objects in an Environment

sample-methods: Take a Sample from a Data Frame-like Object

Sapply: A Dimension Preserving Variant of "sapply" and "lapply"

sort-methods: Convenience Methods to Sort Data Frames and Data Sets

styles: Formatting Styles for Coefficients, Factor Contrasts, and...

Substitute: Substitutions in Language Objects

Table: One-Dimensional Table of Frequences and/or Percentages

toDataFrame: Convert an Array into a Data Frame

toLatexExtra: Additional Methods for LaTeX Representations for R objects

utility-classes: Named Lists, Lists of Items, and Atomic Vectors

value-filters: Value Filters

wild.codes: Table of frequencies for unlabelled codes

Write: Write Codebooks and Variable Descriptions into a Text File

Functions

Aggregate Man page
annotation Man page
annotation<- Man page
annotation<-,ANY,character-method Man page
annotation,ANY-method Man page
annotation-class Man page
annotation,data.set-method Man page
annotation<-,item,annotation-method Man page
annotation,item-method Man page
annotation<-,vector,annotation-method Man page
applyTemplate Man page
Arith,missing.values,missing.values-method Man page
Arith,numeric.item,numeric.item-method Man page
Arith,numeric.item,numeric-method Man page
Arith,numeric,numeric.item-method Man page
Arith,valid.range,valid.range-method Man page
Arith,valid.values,valid.values-method Man page
Arith,value.filter,vector-method Man page
Arith,value.labels,ANY-method Man page
as.array Man page
as.array,data.frame-method Man page
as.character,codebook-method Man page
as.character.css Man page
as.character,Date.item-method Man page
as.character,datetime.item-method Man page
as.character.html_elem Man page
as.character.html_group Man page
as.character,item.vector-method Man page
as.css Man page
as.data.frame.character.item Man page
as.data.frame.data.set Man page
as.data.frame.double.item Man page
as.data.frame.integer.item Man page
as.data.frame.percentage.table Man page
as.data.frame.xpercentage.table Man page
as.data.set Man page
as.data.set,importer-method Man page
as.data.set,list-method Man page
as.factor,item.vector-method Man page
as.html_group Man page
as.integer,item-method Man page
as.item Man page
as.item,character.item-method Man page
as.item,character-method Man page
as.item,Date.item-method Man page
as.item,Date-method Man page
as.item,datetime.item-method Man page
as.item,double.item-method Man page
as.item,factor-method Man page
as.item,integer.item-method Man page
as.item,logical-method Man page
as.item,numeric-method Man page
as.item,ordered-method Man page
as.item,POSIXct-method Man page
as.numeric,item-method Man page
as.ordered,item.vector-method Man page
as.symbols Man page
as.vector,item-method Man page
as.vector,value.labels-method Man page
atomic-class Man page
attribs Man page
attribs<- Man page
By Man page
cases Man page
cbind.data.set Man page
cbind.ftable Man page
cbind.ftable_matrix Man page
character.item-class Man page
c.html_elem Man page
c.html_group Man page
c.mtable Man page
codebook Man page
codebook,atomic-method Man page
codebook-class Man page
codebook,data.frame-method Man page
codebook,data.set-method Man page
codebook,factor-method Man page
codebook,importer-method Man page
codebook,item-method Man page
coef.style Man page
coerce,atomic,missing.values-method Man page
coerce,atomic,valid.range-method Man page
coerce,atomic,valid.values-method Man page
coerce,character,value.labels-method Man page
coerce,data.set,named.list-method Man page
coerce,list,missing.values-method Man page
coerce,numeric,value.labels-method Man page
coerce,value.labels,character-method Man page
coerce,value.labels,numeric-method Man page
collect Man page
collect.array Man page
collect.data.frame Man page
collect.data.set Man page
collect.default Man page
collect.matrix Man page
collect.table Man page
colrename Man page
Compare,character,numeric.item-method Man page
Compare,numeric.item,character-method Man page
content Man page
content<- Man page
contr Man page
contrasts Man page
contrasts<- Man page
contrasts<-,ANY-method Man page
contrasts,ANY-method Man page
contrasts<-,item-method Man page
contrasts,item-method Man page
contr.sum Man page
contr.treatment Man page
css Man page
[<-.css Man page
data.set Man page
[,data.set,atomic,atomic,ANY-method Man page
[,data.set,atomic,missing,ANY-method Man page
data.set-class Man page
[<-,data.set-method Man page
[,data.set,missing,atomic,ANY-method Man page
[,data.set,missing,missing,ANY-method Man page
Date.item-class Man page
datetime.item-class Man page
description Man page
description<- Man page
description,data.set-method Man page
description,importer-method Man page
Descriptives Man page
Descriptives,atomic-method Man page
Descriptives,item.vector-method Man page
df_format_stdstyle Man page
dim,data.set-method Man page
dim,importer-method Man page
dim.mtable Man page
dimnames<-,data.set-method Man page
dimnames,data.set-method Man page
dimnames.mtable Man page
dimrename Man page
double-class Man page
double.item-class Man page
dsView Man page
factor.style Man page
fapply Man page
fapply.default Man page
foreach Man page
format,codebookEntry-method Man page
format,Date.item-method Man page
format,datetime.item-method Man page
format.ftable_matrix Man page
format_html Man page
format_html.codebook Man page
format_html.data.frame Man page
format_html.ftable Man page
format_html.ftable_matrix Man page
format_html.matrix Man page
format_html.mtable Man page
format,item.vector-method Man page
format,missing.values-method Man page
format.mtable Man page
format,valid.range-method Man page
format,valid.values-method Man page
ftable_format_stdstyle Man page
ftable_matrix Man page
genTable Man page
getCoefTemplate Man page
getSummary Man page
getSummary.aftreg Man page
getSummary.betareg Man page
getSummary.clm Man page
getSummary.coxph Man page
getSummary_expcoef Man page
getSummary_expcoef.glm Man page
getSummary.glm Man page
getSummary.hurdle Man page
getSummary.ivreg Man page
getSummary.lm Man page
getSummary.mer Man page
getSummary.merMod Man page
getSummary.multinom Man page
getSummary.phreg Man page
getSummary.polr Man page
getSummary.simex Man page
getSummary.survreg Man page
getSummaryTemplate Man page
getSummary.tobit Man page
getSummary.weibreg Man page
getSummary.zeroinfl Man page
html Man page
[<-.html_attributes Man page
[<-.html_group Man page
[.html_group Man page
html_group Man page
Iconv Man page
Iconv.annotation Man page
Iconv.data.set Man page
Iconv.importer Man page
Iconv.item Man page
Iconv.value.labels Man page
importer Man page
[,importer,atomic,atomic,ANY-method Man page
[,importer,atomic,missing,ANY-method Man page
importer-class Man page
[,importer,missing,atomic,ANY-method Man page
[,importer,missing,missing,ANY-method Man page
include.missings Man page
include.missings,item-method Man page
initialize,data.set-method Man page
initialize,item.list-method Man page
initialize,named.list-method Man page
initialize,spss.fixed.importer-method Man page
initialize,spss.portable.importer-method Man page
initialize,spss.system.importer-method Man page
initialize,Stata.importer-method Man page
initialize,value.labels-method Man page
\%in\%,numeric.item,character-method Man page
integer.item-class Man page
is.data.set Man page
is.interval Man page
is.missing Man page
is.missing,atomic-method Man page
is.missing,factor-method Man page
is.missing,item.vector-method Man page
is.nominal Man page
is.ordinal Man page
is.ratio Man page
is.valid Man page
item Man page
item-class Man page
item.list Man page
item.list-class Man page
items Man page
item.vector-class Man page
[,item.vector,logical,missing,missing-method Man page
[,item.vector,numeric,missing,missing-method Man page
labels Man page
labels<- Man page
labels<-,item,ANY-method Man page
labels,item-method Man page
labels<-,item,NULL-method Man page
labels<-,vector,ANY-method Man page
Lapply Man page
mat_format_stdstyle Man page
Math2,numeric.item-method Man page
Math,numeric.item-method Man page
measurement Man page
measurement<- Man page
measurement,ANY-method Man page
measurement<-,item-method Man page
measurement,item-method Man page
memisc Man page
memisc-package Man page
merge,data.frame,data.set-method Man page
merge,data.set,data.frame-method Man page
merge,data.set,data.set-method Man page
missing.values Man page
missing.values<- Man page
missing.values<-,ANY,atomic-method Man page
missing.values<-,ANY,list-method Man page
missing.values<-,atomic,missing.values-method Man page
missing.values-class Man page
missing.values<-,item,ANY-method Man page
missing.values<-,item,missing.values-method Man page
missing.values<-,item,NULL-method Man page
missing.values,item.vector-method Man page
mtable Man page
[.mtable Man page
mtable_format_delim Man page
mtable_format_html Man page
mtable_format_html Man page
mtable_format_latex Man page
mtable_format_print Man page
mtable_format_stdstyle Man page
named.list Man page
named.list-class Man page
names,importer-method Man page
\%nin\% Man page
numeric.item-class Man page
nvalid Man page
percent Man page
percentages Man page
percentages.formula Man page
percentages.table Man page
percent.default Man page
percent.logical Man page
print.css Man page
print,data.set-method Man page
print,Date.item-method Man page
print,datetime.item-method Man page
print.ftable_matrix Man page
print.html_elem Man page
print.html_group Man page
print,item.vector-method Man page
print.mtable Man page
query Man page
query,data.set-method Man page
query,importer-method Man page
query,item-method Man page
rbind.data.set Man page
rbind.ftable Man page
rbind.ftable_matrix Man page
recode Man page
recode,factor-method Man page
recode,item-method Man page
recode,vector-method Man page
relabel Man page
relabel4 Man page
relabel4,item-method Man page
relabel.default Man page
relabel.factor Man page
relabel.mtable Man page
rename Man page
reorder Man page
reorder.array Man page
reorder.matrix Man page
rep,item.vector-method Man page
retain Man page
row.names,data.set-method Man page
rowrename Man page
sample,data.frame-method Man page
sample,data.set-method Man page
sample,importer-method Man page
Sapply Man page
setAttribs Man page
setAttribs.character Man page
setAttribs.html_elem Man page
setAttribs.html_group Man page
setCoefTemplate Man page
setContent Man page
setStyle Man page
setStyle.character Man page
setStyle.html_elem Man page
setStyle.html_group Man page
setSummaryTemplate Man page
show,annotation-method Man page
show,codebook-method Man page
show,data.set-method Man page
show,Date.item-method Man page
show,datetime.item-method Man page
show_html Man page
show,item.vector-method Man page
show,named.list-method Man page
show,spss.fixed.importer-method Man page
show,spss.portable.importer-method Man page
show,spss.system.importer-method Man page
show,Stata.importer-method Man page
show,value.filter-method Man page
show,value.labels-method Man page
sort.data.frame Man page
sort.data.set Man page
spss.fixed.file Man page
spss.fixed.importer-class Man page
spss.portable.file Man page
spss.portable.importer-class Man page
spss.system.file Man page
spss.system.importer-class Man page
Stata.file Man page
Stata.importer-class Man page
str.character.item Man page
str.data.set Man page
str.datetime.item Man page
str.double.item Man page
str.integer.item Man page
style Man page
style<- Man page
subset,data.set-method Man page
subset,importer-method Man page
Substitute Man page
summary,data.set-method Man page
summary,Date.item-method Man page
summary,datetime.item-method Man page
summary,item.vector-method Man page
Summary,numeric.item-method Man page
summaryTemplate Man page
syms Man page
Table Man page
Table,atomic-method Man page
Table,factor-method Man page
Table,item.vector-method Man page
template Man page
to.data.frame Man page
toLatex.default Man page
toLatex.ftable Man page
toLatex.ftable_matrix Man page
toLatex.matrix Man page
toLatex.mtable Man page
unique,data.set-method Man page
unique,item.vector-method Man page
valid.range Man page
valid.range<- Man page
valid.range<-,ANY,atomic-method Man page
valid.range<-,atomic,valid.range-method Man page
valid.range-class Man page
valid.range<-,item,valid.range-method Man page
valid.range,item.vector-method Man page
valid.values Man page
valid.values<- Man page
valid.values<-,ANY,atomic-method Man page
valid.values<-,atomic,valid.values-method Man page
valid.values-class Man page
valid.values<-,item,valid.values-method Man page
valid.values,item.vector-method Man page
value.filter Man page
value.filter-class Man page
value.filter,item-method Man page
value.labels-class Man page
[,value.labels,logical,missing,missing-method Man page
[,value.labels,numeric,missing,missing-method Man page
weighted.mean,item.vector-method Man page
wild.codes Man page
wild.codes,item-method Man page
within,data.set-method Man page
wording Man page
wording<- Man page
Write Man page
Write.codebook Man page
Write.descriptions Man page
Write.ftable_matrix Man page
write_html Man page
write.mtable Man page

Files

memisc
memisc/inst
memisc/inst/anes
memisc/inst/anes/NES1948.ZIP
memisc/inst/NEWS.Rd
memisc/inst/ChangeLog
memisc/inst/gles
memisc/inst/gles/gles2013work.RData
memisc/inst/doc
memisc/inst/doc/mtable-html.Rmd
memisc/inst/doc/anes48.html
memisc/inst/doc/anes48.R
memisc/inst/doc/mtable-html.R
memisc/inst/doc/mtable-html.html
memisc/inst/doc/items.html
memisc/inst/doc/items.R
memisc/inst/doc/anes48.Rmd
memisc/inst/doc/ftable-matrix.Rmd
memisc/inst/doc/ftable-matrix.R
memisc/inst/doc/ftable-matrix.html
memisc/inst/doc/items.Rmd
memisc/inst/NEWS.html
memisc/src
memisc/src/rofile.c
memisc/src/parsehelpers.c
memisc/src/numeric_if_possible.c
memisc/src/dumbswap.h
memisc/src/update_data_frame.c
memisc/src/rofile.h
memisc/src/pspp-portableStream-for-R.c
memisc/src/dumbswap.c
memisc/src/pspp-system-for-R.c
memisc/src/dta-for-R.c
memisc/src/readfixed.c
memisc/src/memisc.h
memisc/src/ord_union.c
memisc/NAMESPACE
memisc/R
memisc/R/AllClasses.R memisc/R/Sapply.R memisc/R/import-internal-spss-syntax.R memisc/R/AllGenerics.R memisc/R/item-methods.R memisc/R/mtable.R memisc/R/annotation.R memisc/R/collect.R memisc/R/mtable-format-latex.R memisc/R/yz-getSummary-merMod.R memisc/R/AllInternalGenerics.R memisc/R/mtable-format-html.R memisc/R/aaa.R memisc/R/fapply.R memisc/R/tolatex-matrix.R memisc/R/numeric-if-possible.R memisc/R/mtable-format-delim.R memisc/R/wild-codes.R memisc/R/codebook-methods.R memisc/R/contrasts.R memisc/R/toLatex-ftable-matrix.R memisc/R/importer-methods.R memisc/R/retain.R memisc/R/relabel.R memisc/R/format-html-ftable.R memisc/R/cases.R memisc/R/format-html-other.R memisc/R/yy-mtable-ext-AchimZeileis.R memisc/R/quote.R memisc/R/simplifyTypes.R memisc/R/value-filters.R memisc/R/format-html-matrix.R memisc/R/toLatex-dataframe.R memisc/R/dataset-methods.R memisc/R/compress-storage-modes.R memisc/R/import-internal-common.R memisc/R/Foreach.R memisc/R/percentages.R memisc/R/sort.R memisc/R/recode.R memisc/R/html-tools.R memisc/R/query.R memisc/R/stata-methods.R memisc/R/By.R memisc/R/mcf.R memisc/R/yy-mtable-ext-DaveAtkins.R memisc/R/import-internal-spss-portable.R memisc/R/HTML.R memisc/R/percent.R memisc/R/spss-portable-methods.R memisc/R/Table.R memisc/R/format-html-dataframe.R memisc/R/yz-getSummary-mer.R memisc/R/Substitute.R memisc/R/yy-mtable-ext-ChristopherNLawrence.R memisc/R/yy-mtable-ext-JasonWMorgan.R memisc/R/format-html-ftable-matrix.R memisc/R/trimws.R memisc/R/mtable-manip.R memisc/R/codebook-format-html.R memisc/R/value-labels.R memisc/R/sample_methods.R memisc/R/rename.R memisc/R/tolatex-ftable.R memisc/R/expand.R memisc/R/import-internal-stata.R memisc/R/Iconv.R memisc/R/to-things.R memisc/R/groupwise.R memisc/R/spss-syntax-methods.R memisc/R/genTable.R memisc/R/import-internal-spss-sysfile.R memisc/R/item-more-methods-datetime.R memisc/R/item-more-methods-Date.R memisc/R/zzz.R memisc/R/measurement.R memisc/R/mtable-format-print.R memisc/R/mtable-tools-format.R memisc/R/ftable-matrix.R memisc/R/applyTemplate.R memisc/R/spss-sysfile-methods.R
memisc/vignettes
memisc/vignettes/mtable-html.Rmd
memisc/vignettes/anes48.Rmd
memisc/vignettes/ftable-matrix.Rmd
memisc/vignettes/items.Rmd
memisc/MD5
memisc/build
memisc/build/vignette.rds
memisc/DESCRIPTION
memisc/man
memisc/man/as-array.Rd memisc/man/percent.Rd memisc/man/utility-classes.Rd memisc/man/reorder.array.Rd memisc/man/items.Rd memisc/man/sample-methods.Rd memisc/man/Foreach.Rd memisc/man/wild.codes.Rd memisc/man/codebook.Rd memisc/man/getSummary.Rd memisc/man/ftable-matrices.Rd memisc/man/nin.Rd memisc/man/mtable-format-html.Rd memisc/man/percentages.Rd memisc/man/annotations.Rd memisc/man/Sapply.Rd memisc/man/toDataFrame.Rd memisc/man/sort-methods.Rd memisc/man/format_html.Rd memisc/man/00memisc.Rd memisc/man/cases.Rd memisc/man/applyTemplate.Rd memisc/man/Table.Rd memisc/man/retain.Rd memisc/man/contrasts.Rd memisc/man/labels.Rd memisc/man/mtable-format-latex.Rd memisc/man/format_html.codebook.Rd memisc/man/styles.Rd memisc/man/value-filters.Rd memisc/man/mtable-format-delim.Rd memisc/man/dimrename.Rd memisc/man/mtable-format-print.Rd memisc/man/measurement.Rd memisc/man/rename.Rd memisc/man/Write.Rd memisc/man/dataset-manip.Rd memisc/man/collect.Rd memisc/man/importers.Rd memisc/man/genTable.Rd memisc/man/query.Rd memisc/man/as.symbols.Rd memisc/man/By.Rd memisc/man/Substitute.Rd memisc/man/Iconv.Rd memisc/man/Descriptives.Rd memisc/man/relabel.Rd memisc/man/html.Rd memisc/man/dataSets.Rd memisc/man/recode.Rd memisc/man/format_html.ftable.Rd memisc/man/mtable.Rd memisc/man/toLatexExtra.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.