# Management of Survey Data and Presentation of Analysis Results

## Documentation for package ‘memisc’ version 0.99.31.8.3

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

## Help Pages

A B C D F G H I L M N P Q R S T U V W X misc

memisc-package | Introduction to the 'memisc' Package

## -- A --

Aggregate | Generic Tables and Data Frames of Descriptive Statistics
annotation | Adding Annotations to Objects
annotation-class | Adding Annotations to Objects
annotation-method | Adding Annotations to Objects
annotation<- | Adding Annotations to Objects
annotation<--method | Adding Annotations to Objects
applyTemplate | Apply a Formatting Template to a Numeric or Character Vector
Arith-method | Survey Items
Arith-method | Value Labels
Arith-method | Value Filters
as.array | Converting Data Frames into Arrays
as.array-method | Converting Data Frames into Arrays
as.character-method | Generate a Codebook of a Data Set
as.character-method | How Survey Items Are Converted into "Ordinary" Data Vectors
as.character.css | Building Blocks for HTML Code
as.character.html_elem | Building Blocks for HTML Code
as.character.html_group | Building Blocks for HTML Code
as.css | Building Blocks for HTML Code
as.data.frame.character.item | How Survey Items Are Converted into "Ordinary" Data Vectors
as.data.frame.data.set | Data Set Objects
as.data.frame.Date.item | How Survey Items Are Converted into "Ordinary" Data Vectors
as.data.frame.datetime.item | How Survey Items Are Converted into "Ordinary" Data Vectors
as.data.frame.double.item | How Survey Items Are Converted into "Ordinary" Data Vectors
as.data.frame.grouped.data | Operate on grouped data in data frames and data sets
as.data.frame.integer.item | How Survey Items Are Converted into "Ordinary" Data Vectors
as.data.frame.means.table | Means for groups of observations
as.data.frame.percentage.table | Easy Creation of Tables of Percentages
as.data.frame.xmeans.table | Means for groups of observations
as.data.frame.xpercentage.table | Easy Creation of Tables of Percentages
as.data.set | Data Set Objects
as.data.set-method | Operate on grouped data in data frames and data sets
as.data.set-method | Data Set Objects
as.data.set-method | Object Oriented Interface to Foreign Files
as.data.set-method | Interface to Packages 'tibble' and 'haven'
as.data.table.data.set | Data Set Objects
as.factor-method | How Survey Items Are Converted into "Ordinary" Data Vectors
as.html_group | Building Blocks for HTML Code
as.integer-method | How Survey Items Are Converted into "Ordinary" Data Vectors
as.interval | Levels of Measurement of Survey Items
as.item | Survey Items
as.item-method | Survey Items
as.item-method | Interface to Packages 'tibble' and 'haven'
as.nominal | Levels of Measurement of Survey Items
as.numeric-method | How Survey Items Are Converted into "Ordinary" Data Vectors
as.ordered-method | How Survey Items Are Converted into "Ordinary" Data Vectors
as.ordinal | Levels of Measurement of Survey Items
as.ratio | Levels of Measurement of Survey Items
as.symbols | Construction of Lists of Symbols
as.vector-method | How Survey Items Are Converted into "Ordinary" Data Vectors
as.vector-method | Value Labels
assign_if | Assign a values to a variable for instances where a condition is met
as_haven | Interface to Packages 'tibble' and 'haven'
as_haven-method | Interface to Packages 'tibble' and 'haven'
as_tibble.data.set | Interface to Packages 'tibble' and 'haven'
atomic-class | Named Lists, Lists of Items, and Atomic Vectors
attribs | Building Blocks for HTML Code
attribs<- | Building Blocks for HTML Code

## -- B --

By | Conditional Evaluation of an Expression

## -- C --

c.html_elem | Building Blocks for HTML Code
c.html_group | Building Blocks for HTML Code
c.memisc_mtable | Comparative Table of Model Estimates
cases | Distinguish between Cases Specified by Logical Conditions
cbind.data.set | Manipulation of Data Sets
cbind.ftable | Combining flattened tables.
cbind.ftable_matrix | Combining flattened tables.
character.item-class | Survey Items
charTrans | Character Translation of Aspects of Objects
charTrans.annotation | Character Translation of Aspects of Objects
charTrans.character | Character Translation of Aspects of Objects
charTrans.data.set | Character Translation of Aspects of Objects
charTrans.importer | Character Translation of Aspects of Objects
charTrans.item | Character Translation of Aspects of Objects
charTrans.value.labels | Character Translation of Aspects of Objects
coarsen | Coarsen a vector into a factor with a lower number of levels
coarsen.numeric | Coarsen a vector into a factor with a lower number of levels
codebook | Generate a Codebook of a Data Set
codebook-class | Generate a Codebook of a Data Set
codebook-method | Generate a Codebook of a Data Set
codebook_format_stdstyle | Format Codebooks as HTML
codeplan | Describe structure of Data Sets and Importers
codeplan-method | Describe structure of Data Sets and Importers
codeplan<- | Describe structure of Data Sets and Importers
coef.style | Formatting Styles for Coefficients, Factor Contrasts, and Summary Statistics
coerce-method | Value Labels
coerce-method | Named Lists, Lists of Items, and Atomic Vectors
coerce-method | Value Filters
collect | Collect Objects
collect.array | Collect Objects
collect.data.frame | Collect Objects
collect.data.set | Collect Objects
collect.default | Collect Objects
collect.matrix | Collect Objects
collect.table | Collect Objects
colrename | Change dimnames, rownames, or colnames
Compare-method | Survey Items
content | Building Blocks for HTML Code
content<- | Building Blocks for HTML Code
contr | Convenience Methods for Setting Contrasts
contr.sum | Convenience Methods for Setting Contrasts
contr.treatment | Convenience Methods for Setting Contrasts
contract | Contract data into pattern-frequency format
contract.data.frame | Contract data into pattern-frequency format
contract.data.set | Contract data into pattern-frequency format
contrasts | Convenience Methods for Setting Contrasts
contrasts-method | Convenience Methods for Setting Contrasts
contrasts<- | Convenience Methods for Setting Contrasts
contrasts<--method | Convenience Methods for Setting Contrasts
Cor | Convenience wrappers for common statistical functions
Cov | Convenience wrappers for common statistical functions
css | Building Blocks for HTML Code

## -- D --

data.set | Data Set Objects
data.set-class | Data Set Objects
Date.item-class | Survey Items
datetime.item-class | Survey Items
deduplicate_labels | Handle duplicated labels
deduplicate_labels.item | Handle duplicated labels
deduplicate_labels.item.list | Handle duplicated labels
description | Adding Annotations to Objects
description-method | Adding Annotations to Objects
description<- | Adding Annotations to Objects
Descriptives | Vectors of Univariate Sample Statistics
Descriptives-method | Vectors of Univariate Sample Statistics
df_format_stdstyle | Format Objects in HTML, show the HTML Format or Write it to a File
dim-method | Data Set Objects
dim-method | Object Oriented Interface to Foreign Files
dim.memisc_mtable | Comparative Table of Model Estimates
dimnames-method | Data Set Objects
dimnames.memisc_mtable | Comparative Table of Model Estimates
dimnames<--method | Data Set Objects
dimrename | Change dimnames, rownames, or colnames
double-class | Named Lists, Lists of Items, and Atomic Vectors
double.item-class | Survey Items
dsView | Data Set Objects
duplicated_labels | Check for and report duplicated labels
duplicated_labels.item | Check for and report duplicated labels
duplicated_labels.item.list | Check for and report duplicated labels

## -- F --

factor.style | Formatting Styles for Coefficients, Factor Contrasts, and Summary Statistics
fapply | Deprecated Functions in Package 'memisc'
fapply.default | Deprecated Functions in Package 'memisc'
foreach | Loop over Variables in a Data Frame or Environment
format-method | Generate a Codebook of a Data Set
format-method | Data Set Objects
format-method | Survey Items
format-method | Value Filters
format.ftable_matrix | Combining flattened tables.
format.memisc_mtable | Comparative Table of Model Estimates
format_html | Format Objects in HTML, show the HTML Format or Write it to a File
format_html.codebook | Format Codebooks as HTML
format_html.data.frame | Format Objects in HTML, show the HTML Format or Write it to a File
format_html.ftable | Format "Flattened Tables" as HTML
format_html.ftable_matrix | Format "Flattened Tables" as HTML
format_html.matrix | Format Objects in HTML, show the HTML Format or Write it to a File
format_html.memisc_mtable | HTML Formatting for 'mtable' Results
format_md | Format Codebooks as Markdown
format_md.codebook | Format Codebooks as Markdown
format_md.codebookEntry | Format Codebooks as Markdown
ftable_format_stdstyle | Format "Flattened Tables" as HTML
ftable_matrix | Combining flattened tables.

## -- G --

genTable | Generic Tables and Data Frames of Descriptive Statistics
getCoefTemplate | Formatting Styles for Coefficients, Factor Contrasts, and Summary Statistics
getSummary | Get Model Summaries for Use with "mtable"
getSummary.aftreg | Get Model Summaries for Use with "mtable"
getSummary.betareg | Get Model Summaries for Use with "mtable"
getSummary.clm | Get Model Summaries for Use with "mtable"
getSummary.coxph | Get Model Summaries for Use with "mtable"
getSummary.glm | Get Model Summaries for Use with "mtable"
getSummary.hurdle | Get Model Summaries for Use with "mtable"
getSummary.ivreg | Get Model Summaries for Use with "mtable"
getSummary.lm | Get Model Summaries for Use with "mtable"
getSummary.merMod | Get Model Summaries for Use with "mtable"
getSummary.multinom | Get Model Summaries for Use with "mtable"
getSummary.phreg | Get Model Summaries for Use with "mtable"
getSummary.polr | Get Model Summaries for Use with "mtable"
getSummary.simex | Get Model Summaries for Use with "mtable"
getSummary.survreg | Get Model Summaries for Use with "mtable"
getSummary.tobit | Get Model Summaries for Use with "mtable"
getSummary.weibreg | Get Model Summaries for Use with "mtable"
getSummary.zeroinfl | Get Model Summaries for Use with "mtable"
getSummaryTemplate | Formatting Styles for Coefficients, Factor Contrasts, and Summary Statistics
getSummary_expcoef | Get Model Summaries for Use with "mtable"
getSummary_expcoef.default | Get Model Summaries for Use with "mtable"
grouped.data | Operate on grouped data in data frames and data sets
Groups | Operate on grouped data in data frames and data sets
Groups.data.frame | Operate on grouped data in data frames and data sets
Groups.data.set | Operate on grouped data in data frames and data sets
Groups.grouped.data | Operate on grouped data in data frames and data sets

## -- H --

head-method | Data Set Objects
head-method | Object Oriented Interface to Foreign Files
html | Building Blocks for HTML Code
html_group | Building Blocks for HTML Code

## -- I --

Iconv | Convert Annotations, and Value Labels between Encodings
Iconv.annotation | Convert Annotations, and Value Labels between Encodings
Iconv.character | Convert Annotations, and Value Labels between Encodings
Iconv.data.set | Convert Annotations, and Value Labels between Encodings
Iconv.importer | Convert Annotations, and Value Labels between Encodings
Iconv.item | Convert Annotations, and Value Labels between Encodings
Iconv.value.labels | Convert Annotations, and Value Labels between Encodings
importer | Object Oriented Interface to Foreign Files
importer-class | Object Oriented Interface to Foreign Files
include.missings | Value Filters
include.missings-method | Value Filters
initialize-method | Data Set Objects
initialize-method | Object Oriented Interface to Foreign Files
initialize-method | Value Labels
initialize-method | Named Lists, Lists of Items, and Atomic Vectors
integer.item-class | Survey Items
is.data.set | Data Set Objects
is.interval | Levels of Measurement of Survey Items
is.missing | Value Filters
is.missing-method | Value Filters
is.nominal | Levels of Measurement of Survey Items
is.ordinal | Levels of Measurement of Survey Items
is.ratio | Levels of Measurement of Survey Items
is.valid | Value Filters
item | Survey Items
item-class | Survey Items
item.list | Named Lists, Lists of Items, and Atomic Vectors
item.list-class | Named Lists, Lists of Items, and Atomic Vectors
item.vector-class | Survey Items
items | Survey Items

## -- L --

labels | Value Labels
labels-method | Value Labels
labels<- | Value Labels
labels<--method | Value Labels
Lapply | A Dimension Preserving Variant of "sapply" and "lapply"
List | Create a list and conveniently supply names to its elements

## -- M --

Math-method | Survey Items
Math2-method | Survey Items
mat_format_stdstyle | Format Objects in HTML, show the HTML Format or Write it to a File
Max | Convenience wrappers for common statistical functions
Mean | Convenience wrappers for common statistical functions
Means | Means for groups of observations
Means.data.frame | Means for groups of observations
Means.formula | Means for groups of observations
Means.numeric | Means for groups of observations
measurement | Levels of Measurement of Survey Items
measurement-method | Levels of Measurement of Survey Items
measurement<- | Levels of Measurement of Survey Items
measurement<--method | Levels of Measurement of Survey Items
measurement_autolevel | Automatically Adapt Measurement Levels
measurement_autolevel-method | Automatically Adapt Measurement Levels
Median | Convenience wrappers for common statistical functions
memisc | Introduction to the 'memisc' Package
memisc-deprecated | Deprecated Functions in Package 'memisc'
merge-method | Manipulation of Data Sets
Min | Convenience wrappers for common statistical functions
missing.values | Value Filters
missing.values-class | Value Filters
missing.values-method | Value Filters
missing.values<- | Value Filters
missing.values<--method | Value Filters
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
mtable_format_stdstyle | HTML Formatting for 'mtable' Results

## -- N --

named.list | Named Lists, Lists of Items, and Atomic Vectors
named.list-class | Named Lists, Lists of Items, and Atomic Vectors
names-method | Object Oriented Interface to Foreign Files
neg2mis | Mark Negative Values as Missing
numeric.item-class | Survey Items
nvalid | Value Filters

## -- P --

percent | Table of Percentages with Percentage Base
percent.default | Table of Percentages with Percentage Base
percent.logical | Table of Percentages with Percentage Base
percentages | Easy Creation of Tables of Percentages
percentages.data.frame | Easy Creation of Tables of Percentages
percentages.default | Easy Creation of Tables of Percentages
percentages.formula | Easy Creation of Tables of Percentages
percentages.list | Easy Creation of Tables of Percentages
percentages.table | Easy Creation of Tables of Percentages
print-method | Data Set Objects
print-method | Survey Items
print.css | Building Blocks for HTML Code
print.ftable_matrix | Combining flattened tables.
print.html_elem | Building Blocks for HTML Code
print.html_group | Building Blocks for HTML Code
print.memisc_mtable | Comparative Table of Model Estimates

## -- Q --

query | Query an Object for Information
query-method | Query an Object for Information

## -- R --

Range | Convenience wrappers for common statistical functions
rbind.data.set | Manipulation of Data Sets
rbind.ftable | Combining flattened tables.
rbind.ftable_matrix | Combining flattened tables.
read_codeplan | Describe structure of Data Sets and Importers
recode | Recode Items, Factors and Numeric Vectors
recode-method | Recode Items, Factors and Numeric Vectors
recombine | Operate on grouped data in data frames and data sets
recombine.grouped.data.frame | Operate on grouped data in data frames and data sets
recombine.grouped.data.set | Operate on grouped data in data frames and data sets
relabel | Change labels of factors or labelled objects
relabel.default | Change labels of factors or labelled objects
relabel.factor | Change labels of factors or labelled objects
relabel.memisc_mtable | Comparative Table of Model Estimates
relabel4 | Change labels of factors or labelled objects
relabel4-method | Change labels of factors or labelled objects
rename | Change Names of a Named Object
reorder | Reorder an Array or Matrix
reorder.array | Reorder an Array or Matrix
reorder.matrix | Reorder an Array or Matrix
rep-method | Survey Items
Reshape | Reshape data frames or data sets
retain | Retain Objects in an Environment
reversed | Reverse the codes of a survey item or the levels of a factor
reversed-method | Reverse the codes of a survey item or the levels of a factor
row.names-method | Data Set Objects
rowrename | Change dimnames, rownames, or colnames

## -- S --

sample-method | Take a Sample from a Data Frame-like Object
Sapply | A Dimension Preserving Variant of "sapply" and "lapply"
setAttribs | Building Blocks for HTML Code
setAttribs.character | Building Blocks for HTML Code
setAttribs.html_elem | Building Blocks for HTML Code
setAttribs.html_group | Building Blocks for HTML Code
setCodeplan | Describe structure of Data Sets and Importers
setCodeplan-method | Describe structure of Data Sets and Importers
setCoefTemplate | Formatting Styles for Coefficients, Factor Contrasts, and Summary Statistics
setContent | Building Blocks for HTML Code
setStyle | Building Blocks for HTML Code
setStyle.character | Building Blocks for HTML Code
setStyle.html_elem | Building Blocks for HTML Code
setStyle.html_group | Building Blocks for HTML Code
setSummaryTemplate | Formatting Styles for Coefficients, Factor Contrasts, and Summary Statistics
set_measurement | Levels of Measurement of Survey Items
show-method | Adding Annotations to Objects
show-method | Generate a Codebook of a Data Set
show-method | Data Set Objects
show-method | Object Oriented Interface to Foreign Files
show-method | Survey Items
show-method | Value Labels
show-method | Named Lists, Lists of Items, and Atomic Vectors
show-method | Value Filters
show_html | Format Objects in HTML, show the HTML Format or Write it to a File
sort.data.frame | Convenience Methods to Sort Data Frames and Data Sets
sort.data.set | Convenience Methods to Sort Data Frames and Data Sets
spss.file | Object Oriented Interface to Foreign Files
spss.fixed.file | Object Oriented Interface to Foreign Files
spss.fixed.importer-class | Object Oriented Interface to Foreign Files
spss.portable.file | Object Oriented Interface to Foreign Files
spss.portable.importer-class | Object Oriented Interface to Foreign Files
spss.system.file | Object Oriented Interface to Foreign Files
spss.system.importer-class | Object Oriented Interface to Foreign Files
Stata.file | Object Oriented Interface to Foreign Files
Stata.importer-class | Object Oriented Interface to Foreign Files
Stata_new.importer-class | Object Oriented Interface to Foreign Files
StdDev | Convenience wrappers for common statistical functions
str.character.item | Survey Items
str.data.set | Data Set Objects
str.datetime.item | Survey Items
str.double.item | Survey Items
str.integer.item | Survey Items
style | Building Blocks for HTML Code
style<- | Building Blocks for HTML Code
subset.data.set | Manipulation of Data Sets
subset.spss.fixed.importer | Object Oriented Interface to Foreign Files
subset.spss.portable.importer | Object Oriented Interface to Foreign Files
subset.spss.system.importer | Object Oriented Interface to Foreign Files
subset.Stata.importer | Object Oriented Interface to Foreign Files
subset.Stata_new.importer | Object Oriented Interface to Foreign Files
Substitute | Substitutions in Language Objects
Summary-method | Survey Items
summary-method | Data Set Objects
summary-method | Survey Items
summary.withVCov | Add Alternative Variance Estimates to Models Estimates
summary.withVCov.lm | Add Alternative Variance Estimates to Models Estimates
summaryTemplate | Formatting Styles for Coefficients, Factor Contrasts, and Summary Statistics
syms | Construction of Lists of Symbols

## -- T --

Table | One-Dimensional Table of Frequences and/or Percentages
Table-method | One-Dimensional Table of Frequences and/or Percentages
tail-method | Data Set Objects
tail-method | Object Oriented Interface to Foreign Files
template | Apply a Formatting Template to a Numeric or Character Vector
to.data.frame | Convert an Array into a Data Frame
toLatex.data.frame | Additional Methods for LaTeX Representations for R objects
toLatex.default | Additional Methods for LaTeX Representations for R objects
toLatex.ftable | Additional Methods for LaTeX Representations for R objects
toLatex.ftable_matrix | Additional Methods for LaTeX Representations for R objects
toLatex.matrix | Additional Methods for LaTeX Representations for R objects
toLatex.memisc_mtable | Comparative Table of Model Estimates
trim_labels | Trim Codes from the Labels of an Item
trim_labels-method | Trim Codes from the Labels of an Item

## -- U --

unique-method | Manipulation of Data Sets
unique-method | Survey Items

## -- V --

valid.range | Value Filters
valid.range-class | Value Filters
valid.range-method | Value Filters
valid.range<- | Value Filters
valid.range<--method | Value Filters
valid.values | Value Filters
valid.values-class | Value Filters
valid.values-method | Value Filters
valid.values<- | Value Filters
valid.values<--method | Value Filters
value.filter | Value Filters
value.filter-class | Value Filters
value.filter-method | Value Filters
value.labels-class | Value Labels
Var | Convenience wrappers for common statistical functions
vcov.withVCov | Add Alternative Variance Estimates to Models Estimates
view | A Generic Viewing Function
viewPrep | A Generic Viewing Function
viewPrep.codeplan | A Generic Viewing Function
viewPrep.data.frame | A Generic Viewing Function
viewPrep.data.set | A Generic Viewing Function
viewPrep.default | A Generic Viewing Function
viewPrep.descriptions | A Generic Viewing Function
viewPrep.importer | A Generic Viewing Function
view_html | HTML Output for 'view.

## -- W --

Weighted.Mean | Convenience wrappers for common statistical functions
weighted.mean-method | Survey Items
wild.codes | Table of frequencies for unlabelled codes
wild.codes-method | Table of frequencies for unlabelled codes
with.grouped.data | Operate on grouped data in data frames and data sets
withGroups | Operate on grouped data in data frames and data sets
Within | Operators to abbreviate use of "with" and "within"
within-method | Data Set Objects
Within.data.frame | Operators to abbreviate use of "with" and "within"
within.grouped.data | Operate on grouped data in data frames and data sets
withinGroups | Operate on grouped data in data frames and data sets
withSE | Add Alternative Variance Estimates to Models Estimates
withVCov | Add Alternative Variance Estimates to Models Estimates
withVCov.lm | Add Alternative Variance Estimates to Models Estimates
wording | Adding Annotations to Objects
wording<- | Adding Annotations to Objects
Write | Write Codebooks and Variable Descriptions into a Text File
Write.codebook | Write Codebooks and Variable Descriptions into a Text File
Write.descriptions | Write Codebooks and Variable Descriptions into a Text File
Write.ftable_matrix | Combining flattened tables.
write.mtable | Comparative Table of Model Estimates
write_codeplan | Describe structure of Data Sets and Importers
write_html | Format Objects in HTML, show the HTML Format or Write it to a File

## -- X --

xapply | Apply a function to ranges of variables

## -- misc --

$-method | Generate a Codebook of a Data Set
$-method | Object Oriented Interface to Foreign Files
%##% | Operators for Setting Annotations and Attributes
%#% | Operators for Setting Annotations and Attributes
%$$% | Operators to abbreviate use of "with" and "within"
%$% | Operators to abbreviate use of "with" and "within"
%@% | Operators for Setting Annotations and Attributes
%@%<- | Operators for Setting Annotations and Attributes
%if% | Assign a values to a variable for instances where a condition is met
%in%-method | Survey Items
%nin% | Negative Match
[-method | Generate a Codebook of a Data Set
[-method | Data Set Objects
[-method | Object Oriented Interface to Foreign Files
[-method | Survey Items
[-method | Value Labels
[.html_group | Building Blocks for HTML Code
[.memisc_mtable | Comparative Table of Model Estimates
[<--method | Data Set Objects
[<-.css | Building Blocks for HTML Code
[<-.html_attributes | Building Blocks for HTML Code
[<-.html_group | Building Blocks for HTML Code
[[-method | Generate a Codebook of a Data Set
[[-method | Object Oriented Interface to Foreign Files