memisc: Various tools for survey data, graphics, statistics, and simulation

The R package memisc, which is available at CRAN, provides tools for the management of survey data, graphics, statistics and simulation. The version published on CRAN is available here.

Although it is handy to have a lot of functionality collected into one package, such a package also creates its own challenges for maintenance. For this reason I am splitting up the package in several smaller ones that will soon appear on this website as well as (hopefully) on CRAN. This webpage will contain news related to memisc and the packages to supersede it.

One of the facilities that the package provides is the for the creation of (nearly) publication-ready tables of estimates. One example can be found on a separate page.

In addition to formatted output of estimates memisc also assist in conducting simulation experiments. An example is given on a page on the function Simulate.

Another utility function contained in the memisc package is Termplot which is an enhanced version of the standard R function termplot. Termplot allows to 'compare' the fit of different models. An example can be found on a seperate page.

More examples for the use of the package are given in the package vignette.

Version 0.96 of R package "memisc" released

Posted on Sat, 26 Jan 2013 22:51:41 +0100

A new version of my memisc package is available on this website and hopefully soon on CRAN.

The following changes were made since the last patchlevel of the previous version:

2013-01-26:

  • Included getSummary methods
    • for objects of classes "ivreg", "tobit" (from package "AER"), "hurdle", "zeroinfl" (from package "pscl"), "betareg" (from package "betareg"), "multinom" (from package "nnet"), contributed by Achim Zeileis
    • for objects of classes "polr" (from package "MASS"), "clm" (from package "ordinal"), "simex" (from package "simex"), contributed by Christopher N. Lawrence
    • for objects of classes "coxph", "survreg" (from package "survival"), "aftreg", "phreg", "weibreg" (from package "eha"), contributed by Jason W ...
(read more)

Tags: memisc

Version 0.95-38 of R package "memisc" released

Posted on Tue, 14 Feb 2012 16:43:08 +0100

A new patchlevel of my memisc package is available on this website and hopefully soon on CRAN.

The following changes were made since the last patchlevel:

2012-02-14:

  • Replaced calls to .Internal(sample()) by calls to sample.int() and eliminated call to .Internal(int.unzip()). The package now depends on R >= 2.9.0

2012-01-25:

  • Fixed reading of value labels from SPSS system files - no garbage at the end of the labels.

2011-12-07:

  • Fixed "getSummary" and "getSummary.expcoef" S3-generic functions.

Tags: memisc, R

Version 0.95-35 of R package "memisc" released

Posted on Sun, 6 Nov 2011 17:55:49 +0100

A new patchlevel of my memisc package is available on this website and hopefully soon on CRAN.

The following changes were made since the last patchlevel:

2011-11-06:

  • Added a 'rep' method for 'item.vector' objects.
  • Applied patch sent by Masahiro Hayashi to fix bugs in 'vector' method of 'recode'.

Tags: memisc, R

Version 0.95-34 of R package "memisc" released

Posted on Wed, 5 Oct 2011 19:14:28 +0200

A new patchlevel of my memisc package is available on this website and hopefully soon on CRAN.

The following changes were made since the last patchlevel:

2011-10-05:

  • Adapted the package to R 2.14.0 (by eliminating calls to 'require' in the '.onLoad' function)
  • Changed the methods for data frames, 'data.set' and 'importer' objects of the function 'sort' from S3 to S4

2011-08-26:

  • Fixed a bug in internal function 'compress.storage.mode.double' that caused it to create NA's where it should not.
  • Fixed a bug in the print method for items that caused it to report their ...
(read more)

Tags: memisc, R

Version 0.95-33 of package "memisc" released

Posted on Fri, 17 Jun 2011 18:54:57 +0200

A new patchlevel of my memisc package is available on this website and hopefully soon on CRAN.

The following changes were made since the last patchlevel:

2011-06-17:

  • Removed mkHelpDir() that has not worked for a while because of architectural changes in R.
  • Removed some unused variables from the C-code that caused warnings.
  • Corrected a bug in format.mtable() misusing the function character() and some other buglets reported by NOTE's in automatic runs by CRAN.

2011-05-29:

  • Applied patch sent by Christopher N. Lawrence: Added support to mtable() for clm and clmm ordinal models in the ordinal package. Updates getSummary to ...
(read more)

Tags: memisc, R

Version 0.95-32 of R package "memisc" released

Posted on Sat, 14 May 2011 22:00:47 +0200

A new patchlevel of my memisc package is available on this website and hopefully soon on CRAN.

The following changes were made since the last patchlevel:

2011-05-14:

  • Fixed problems with SPSS system files that do not contain an 'info_flt64' record. This problem led to zeroes in the data section of the file being erroneously interpreted as sysmis.
  • Fixed 'show' and 'print' methods for 'data.set' objects - they no do fit the width set by options(width=...), without ugly line breaks.
  • Changed the default value of the 'compress.storage.modes' option for the subset and bracket methods o 'importer' objects to ...
(read more)

Tags: memisc, R

Package "memisc": Sandwich estimators and 'mtable'

Posted on Fri, 13 May 2011 21:46:19 +0200

Recently I was asked whether it was possible to use with 'mtable' sandwich estimators of variance for lm and glm models, as they are provided by the R packages 'sandwich' and 'lmtest'.

An R script that provides this extension can now be downloaded from here.

(read more)

Tags: memisc

Extensions for 'mtable' in R package "memisc"

Posted on Tue, 10 May 2011 12:28:38 +0200

Jason Morgan has posted some extensions to the 'mtable' function on his blog. It provides extended support for survival models and linear mixed models.

Tags: memisc, R

RZ - a GUI for Data Management with memisc

Posted on Tue, 10 May 2011 12:13:40 +0200

Masahiro Hayashi has written a graphical user interface for the data management facilities that my package 'memisc' provides.

This package can be found here. It looks promising but seems to lack documentation. I am going to check it out more intensively in the next weeks.

For a start, here is a screenshot.

Tags: memisc, R

memisc 0.95-31

Posted on Fri, 16 Jul 2010 18:55:05 +0200

A new patchlevel of my memisc package is available on this website.

The following changes were made since the last patchlevel:

2010-07-16:

  • fixed a bug in 'Simulate' that caused it to fail in certain situations in R version >= 2.11.

Tags: memisc, R

memisc 0.95-30

Posted on Mon, 12 Apr 2010 21:42:18 +0200

A new patchlevel (0.95-30) of my memisc package is on CRAN now.

The following changes were made since the last patchlevel:

2010-04-12:

  • 'toLatex(mtable(),useDcolumn=FALSE)' should now produce useable LaTeX output (dollars are added to the table entries).

2010-04-09:

  • 'By' works now with 'genTable' and 'aggregate.formula'. It gains a 'data.frame' method, which better cooperates with calls to 'lm'-like functions. Their results get a 'data' component containing the subset of the data frame that was given as 'data' argument to the call of 'By'.

Tags: memisc, R

memisc 0.95-29

Posted on Thu, 8 Apr 2010 11:40:13 +0200

A new patchlevel (0.95-29) of my memisc package is on CRAN now.

The following changes were made since the last patchlevel:

2010-04-08:

  • fixed bug in 'cases'. It works now with target expressions even with 'within'.
  • 'write.mtable' now handles a 'forLaTeX=TRUE' option in a more convenient way.
  • 'mtable' now handles objects of classes "polr" and "simex", thanks to a contribution from Christopher N. Lawrence (Texas A&M International University)
  • support for 'mtable' output for "glm" objects with exponentiated coefficients and prelininary support for "lmer" object added, thanks to a contribution from Dave Atkins (Unversity of Washington). Also the ...
(read more)

Tags: memisc, R

memisc 0.95-27

Posted on Sat, 20 Mar 2010 19:14:33 +0100

A new patchlevel (0.95-27) of my memisc package is on CRAN now.

The following changes were made since the last patchlevel:

2010-03-18:

  • patch to trimws to make it locale-neutral

Tags: memisc, R

memisc update

Posted on Fri, 12 Mar 2010 17:28:59 +0100

A new patchlevel (0.95-26) of my memisc package is on CRAN now.

The following changes were made since the last patchlevel:

2010-03-11:

  • fixed bugs in mtable and format.mtable. Short 'summary.stats' arguments or 'summary.stats=FALSE' should work now.

2010-03-06:

  • fixed bug in genTable/percentage: total counts disappeared if a factor level had the same name as the name given to the total count
  • changed the default value of the 'digits' option of the matrix method of the toLatex generic to the more sensible getOption("digits")
  • the matrix method of the toLatex generic gains new optional arguments 'show ...
(read more)

Tags: memisc, R

R software uploads

Posted on Thu, 18 Feb 2010 22:20:02 +0100

Just finished the pages for some of my R packages (there's more to come). Packages memisc, munfold, and mcogit can now be found on my website.

Tags: memisc, munfold, mclogit, R