memisc 0.99 published on CRAN18 January 2016
One highlight of the new release is the support for output into HTML. Since contemporary word processors can read HTML, it is now much easier to get nicely formatted
mtable output in “Word” or “LibreOffice”. Another highlight is the ability to create complex tables by putting together other tables.
Changes since 0.97
Support for exporting results of various functions into HTML format is now supported by the function
format_html. This should make it easier to import them into HTML or word-processing documents (that support importing HTML). A preview of the HTML is made available by the new (generic) function
In particular, results of the functions
mtable(i.e. tables of model estimates),
ftable(i.e. flattened contingency tables etc.), and
codebooks, can be exported int. HTML using
format_html. Also data frames can be exported into HTML.
dsViewis added, which allows a display of
data.setobjects similar as
Viewdisplays data frames.
mtablenow handles multi-equation models better, in particular if the model objects supplied as arguments vary in the number and/or names of the equations. There is also a new option to place confidence intervals to the right of coefficient estimates. Further
mtablegains the following optional aguments:
show.baselevel, which allows to suppress the display of baseline categories of dummy variables, when dummy variable coefficients are displayed
sdigits, to specify the number of digits of summary statistics.
gs.options, to pass optional arguments to
getSummary, allowin for more flexibility in creating tables.
One can now use a
summaryTemplategeneric function for formatting model summaries, in addition to set the template by
setSummaryTemplate. Finally, parts of “mtables” can be extracted using the
[operator as with matrices, and “mtables” can now also be concatenated.
There is now an object class for survey items containing dates, called
There is a new function
wild.codesto check wild codes (i.e. unlabelled codes of an otherwise labelled item.)
codebooknow supports data frames, factors, and numeric vectors.
toLatexmethod exists now for
percentagesfunction is added to allow easy creation of tables of percentages.
Support for with model groups in
c.mtablenow creates groups of models, if arguments are tagged.
Flattened contingency tables (
ftables as they are created by the eponymous function in the
statspackage) can now be combined into
ftable_matrixobjects. This can be done by using
spss.fixed.fileis now able to handle labelled strings and
Internal C-code used by
spss.fixed.fileno longer assumed that arguments are copied – some strange behaviour of objects created by
spss.fixed.fileis now corrected.
Description of items in external data sources is more complete now - the same information as for items in internal
applyTemplatenow returns empty strings for undefined quantities.
data.setsnow works as expected.
spss.fixed.filenow checks whether there are undefined variables in
Stata.filenow can import Stata 9 and Stata 10 files.
ls.strare imported from the
utilspackage to prevent a NOTE in R CMD check
dropis no longer used by function
All vignettes now use knitr.
Format of file produced by
write.mtablecan now be specified using a
forLaTeX=TRUEstill can be used to get LaTeX files.
panel.errbarsare defunct. Graphics similar to those built with
panel.errbarscan be created with facilities provided by the package “mplot”, which is currently available on GitHub.
UnZiphas been removed from the package.
unzipin conjunction with
system.filedoes the same job, as can be seen in the example for