NEWS {memisc} | R Documentation

## memisc News

### Version 0.99

#### NEW FEATURES

- A new object-oriented infrastructure for the creation of HTML code is used in `format_html` methods. This infrastructure is exposed by the `html` function.

- Support for with model groups in `mtable`. `c.mtable` now creates groups of models, if arguments are tagged.

- Flattened contingency tables (`ftable`s as they are created by the eponymous function in the `stats` package) can now be combined into `ftable_matrix` objects. This can be done by using `rbind()` or `cbind()`.

#### BUGFIXES

- Set dependency to R version >= 3.0 for this is needed for knitr vignettes.

- `str` and `ls.str` are imported from the `utils` package to prevent a NOTE in R CMD check

#### USER-VISIBLE CHANGES

- All vignettes are now using knitr.

#### DEFUNCT

- The function `UnZip` has been removed from the package. `unzip` in conjunction with `system.file` does the same job, as can be seen in the example for `spss.portable.file`.

### Version 0.98

#### NEW FEATURES

- 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 `show_html`.

  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.

- A function `dsView` is added, which allows a display of `data.set` objects similar as `View` displays data frames.

- `mtable` now 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 `mtable` gains 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 `summaryTemplate` generic 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 `"datetime.item"`

- There is a new function `wild.codes` to check wild codes (i.e. unlabelled codes of an otherwise labelled item.)

- `codebook` now supports data frames, factors, and numeric vectors.

- A `toLatex` method exists now for `data.set` objects, data frames and other objects.

- A new `percentages` function is added to allow easy creation of tables of percentages.

#### BUGFIXES

- `spss.fixed.file` is now able to handle labelled strings and `value labels` and `missing values` statements.

- Internal C-code used by `spss.fixed.file` no longer assumed that arguments are copied – some strange behaviour of objects created by `spss.fixed.file` is now corrected.

- Description of items in external data sources is more complete now - the same information as for items in internal `data.sets`.

- `applyTemplate` now returns empty strings for undefined quantities.

- `collect` method for `data.sets` now works as expected.

- `spss.fixed.file` now checks whether there are undefined variables in `varlab.file` etc.

- `Stata.file` now can import Stata 9 and Stata 10 files.

#### USER-VISIBLE CHANGES

- Argument `drop` no longer used by function `mtable`.

- Format of file produced by `write.mtable` can now be specified using a `format=` argument. But `forLaTeX=TRUE` still can be used to get LaTeX files.

#### DEFUNCT

- The functions `Termplot`, `Simulate`, and `panel.errbars` are defunct. Graphics similar to those built with `panel.errbars` can be created with facilities provided by the package "mplot", which is currently available on GitHub.

### Version 0.97

#### NEW FEATURES

- `spss.system.file` and `spss.portable.file` gain a `tolower=` argument that defaults to `TRUE`, which allows to change annoying all-upper-case variable names to lower case

- New generic function `Iconv()` that allows to change the character enconding of variable descriptions and value labels. It has methods for `"data.set"`, `"importer"`, `"item"`, `"annotation"`, and `"value.label"` objects.

- There is now a method of `as.character()` for `"codebook"` objects and a convenience function `Write()` with methods for `"codebook"` and `"description"` to make it more convenient to direct the output of `codebook()` and `description()` into text files.

- A method for `"merMod"` objects of the `getSummary()` generic function. `mtable()` now should be able (again) to handle estimation results produced by `lmer()` and `glmer()` from package 'lme4'.

- `recode()` handles character vectors in a more convenient way: They are converted into factors with sorted unique values (after recoding) as levels.

#### USER-VISIBLE CHANGES

- `getSummary.expCoef` is renamed into `getSummary_expCoef`.

#### DEFUNCT

- S3 method `aggregate.formula` has been removed from the package to avoid clash with method of the same name in the `base` package. The function `Aggregate` can be used instead.

- Removed `include`, `uninclude`, and `detach.sources` as these are flagged as modifying the global namespace.

[Package memisc version 0.99.3 ]