Recent Releases of memisc
memisc - 0.99.31.8.3
This is the version submitted to CRAN on 13 April 2025
Full Changelog: https://github.com/melff/memisc/compare/0.99.31.8.1...0.99.31.8.3
- R
Published by melff 10 months ago
memisc -
This is the version submitted to CRAN on 24 October 2024
- R
Published by melff over 1 year ago
memisc -
This is the version that was published on CRAN on 28th September 2024
- R
Published by melff over 1 year ago
memisc -
This is the version that was published on CRAN on 10th December 2023
- R
Published by melff about 2 years ago
memisc -
This version was published on CRAN on 10 Mar 2023.
- R
Published by melff almost 3 years ago
memisc -
This release has been submitted to CRAN on 2021-10-08
2021-10-07:
- 'unclass' "item.vector" objects in as.character() to
avoid infinite recursion and stack overflow (as suggested by Kurt Hornik)
2021-08-01:
- Improved handling of labels in recode()
- Corrected counting of cases in SPSS fixed format files
2021-07-31: - Enable recoding from factor (or character) to numeric
2021-07-26:
- Fixed handling of missing values in Means()
- Handle cbind() in Means() nicely
- R
Published by melff over 4 years ago
memisc - 0.99.29.0.1
subset()is not S3-generic - this improves some tricks that rely on lazy evaluation of function arguments- A new
reversed()function allows to get a copy of a factor or a survey item object with levels or, respectively, codes in reverse order. - If
recode()permutes existing codes, the value labels are applied appropriately.
- R
Published by melff about 5 years ago
memisc - 0.99.28.0.1
2020-01-20: - Remove redundant "as.data.set" method and setOldClass() call for "tbl_df"
2020-01-17:
- Make copying of labels while recoding work again.
- Make recode() warn about NAs being created.
- Add a new optional '.default' and '.complete' arguments to cases().
2020-01-16:
- Added functions reorder_codes() and trim_labels().
- R
Published by melff about 5 years ago
memisc -
- Fixes creation of codebooks for character vectors.
- R
Published by melff about 5 years ago
memisc -
This release corresponds to the one on CRAN. Changes since last release are: - Fixed error caused by a change in 'getS3method()' introduced by R r79435: 'getS3method()' now enforces a the hitherto undocumented restriction that the 'cls' argument must have length 1. - Added 'title' metadata to Rmarkdown vignettes.
- R
Published by melff about 5 years ago
memisc - 0.99.27.1
- Fix
as.item()methods for "haven_labelled" objects etc. - Variance component estimates of "merMod" and "clmm" objects are reported as distinct statistics.
codebook()better handles character variables in SPSS system files.spss.system.file()uses information in the file about the intended measurement level of the variables, however, this is optional and can be switched off.- Added new option
fold.leaders=totoLatex()method for "ftable" objects - Added support for compressing output regarding control variables in
mtable().
- R
Published by melff over 5 years ago
memisc -
- Some
setOldClass()calls are now conditional on the absence of certain packages. - A general
getSummary_expcoef()default method is now provided, which is widely applicable as it builds ongetSummary().
- R
Published by melff over 5 years ago
memisc -
- Bugfix:
genTable()andAggregate()now correctly handle implicit frequency weights
- R
Published by melff over 5 years ago
memisc -
- Bugfix: Make codebook work with factors that have empty levels (i.e. no observations for certain levels).
- R
Published by melff over 5 years ago
memisc -
- Support for "clmm" objects (random-effects cumulative logit models - from package "ordinal") by
mtable()is added. - The
mtable()support for "merMod" objects (from package "lme4") is improved. Their appearance is made more consistent with that of "glm" objects.
- R
Published by melff over 5 years ago
memisc -
- In this release it is made sure that variable labels are retained by
as.vector()andas.data.frame()even for items with 'interval' or 'ratio' level of measurement.
- R
Published by melff over 5 years ago
memisc -
This is a bugfix release:
- Fixed bug in the creation of codebooks
- The deduplicate_labels() method for "data.set"-objects a bit more resilient: It does not choke if some elements of the data set are not survey items.
This version has also been published on CRAN.
- R
Published by melff over 5 years ago
memisc -
This is the release published on CRAN. It mainly contains some minor corrections in the documentation as mandated by recent CRAN policy changes.
- R
Published by melff over 5 years ago
memisc - 0.99.25.3
- There is now an explicit
as.data.set()method for objects in class "tbl_df" (so-called "tibbles"). - The
as.character()-method for "item" objects now has an optionalinclude.missings=argument. - It is now possible to apply
codeplan()to "item" objects, to enquire and modify labels and missing value declarations. - The
as.data.frame()method for extended tables of percentages (that include confidence intervals and standard errors) now works as expected (again).
- R
Published by melff over 5 years ago
memisc -
as.item()andcodebookEntry()methods are added for objects of class "labelled" as they occur in some imported tibbles.as.item()now drops non-unique labelled values when applied to a "labelled", "havenlabelled", or "havenlabelled_spss" object.- With
codebook()it is now possible to disable the display of unweighted data summaries. - In accordance to future deprecation of the function
default.stringsAsFactors()the default value of thestringsAsFactorargument is nowFALSE.
- R
Published by melff over 5 years ago
memisc -
- Added support for codebooks with weighted data.
- Added support for subsetting codebooks with
$,[, and[[ - Fixed a bug that prevented
genTableandAggregateto work as expected withdata.setobjects - Measurement levels of variables in
data.setobjects are now obtained from the metadata in the SPSS file (if available) - The character set encoding in an SPSS file is now detected (if information is available) and used to translate the variable labels and value labels.
- R
Published by melff over 5 years ago
memisc - 0.99.22
This release makes the following improvements:
- There are convenience wrappers such as
Mean()etc. formean()etc. that have the default settingna.rm=TRUEinstead ofna.rm=FALSE. with(Groups()),withGroups(),within(Groups()),withinGroups(),Aggregate(), andgenTable()are considerably faster now. They can also make use of certain automatic variables such asn_,i_that contain group sizes and group indices.relabel(),rename(), anddimrename(), do no longer require their arguments to be enclosed in quotation marks.
- R
Published by melff about 6 years ago
memisc - 0.99.21
This release is on its way to be published on CRAN. It fixes an issue on C link time and includes a frew improvements:
- Handling of SPSS .sav files created with ReadStat or haven is improved.
- Support for SPSS syntax files in non-native encoding has been added.
- labels(), value.filter(), codebook() and codeplan() can now deal with NULL arguments (bei returning NULL).
- Reshape() has been improved.
- codebook() now works as expected with "tibble" imported with the "haven" package.
- "data.set" object can now directly be converted into "data.table" objects.
- The level of measurement can now be set for several variables in a data set.
- R
Published by melff about 6 years ago
memisc - 0.99.20
This release improves interoperability with RStudio, in particular with respect to viewing data objects.
- An extendable function view() allows to use the View() facilities provided by graphical user interfaces (in particular RStudio) with objects not originally supported by these user interfaces. In addition, view methods for "codeplan", "decriptions", "data.set", and "inporter" are provided, which allow to conviently inspect the contents of these objects in RStudio.
- The function head and tail now work with "data.set" and "importer" objects in the same sensible way as they with data frames.
- The function recode behaves more coherently: If a labelled item is the result of recode it gets the measurement level "nominal". Factor levels explictly created first come first in the order of factor levels.
- R
Published by melff over 6 years ago
memisc - 0.99.19-0
This release enhances the facilities to import data and makes memisc compatible to the packages tibble and haven:
- A new spss.file() function can be used to import both SPSS "portable" (with file name extension ".por") and "system" files (with file name extension ".sav").
- importer functions such as Stata.file() or spss.file() have new (optional) arguments iconv= and enconding= that allow to specify the encoding of strings in the file being importet (with some sensible defaults, such as CP1252 for older Stata files and SPSS files)
- as_tibble() can be used to transform "data.set" objects into (regular) tibbles (objects of class "tbldf"), while `ashaven()can be used to transform "data.set" objects into the kind of tibbles that are produced by the package *haven*.
- When a "data.set" is transformed into an ordinary data frame or a tibble, "item" objects retain their "description" annotation as "label" attribute.
- Whenas.data.set()` is applied to a tibble imported via haven, the special attributes "label", "labels", "navalues", and "narange" are appropriately translated into item attributes "description", "value.labels", and "missing.values".
- R
Published by melff over 6 years ago
memisc - 0.99.18.1
Stata.file()now supports importing files in recent Stata formats (dta relelease 117, 118, 119 - see https://www.stata.com/help.cgi?dta). Also loading Stata files with mismatching encoding of value labels should now work.- New functions
Groups(),withGroups(), andwithinGroups()provide support for data management within groups of rows of a data frame or data set. - A new function
Reshape()is added that is an interface forreshape()but that has simpler syntax and returns data sorted in a more convenient ordering (i.e. measurements nested in individuals).
- R
Published by melff over 6 years ago
memisc - 0.99.17.1
- Added syntactical sugar to manipulate annotations and attributes.
- Fixed import of value labels for string variables in 'spss.system.file'
- Fixed codebook representation of datetime items in SPSS system and portable files
- Support for date or datetime import added to 'spss.portable.file'
- Support for date or datetime import added to 'spss.system.file'
- Minor bugfix in printing of 'datetime.item's - added bracket method for this class of objects
- Fixed issues flagged by Tomas Kalibera's rchk utility
- R
Published by melff almost 7 years ago
memisc -
- A function
codeplan()creates a data frame describing the structure of an "importer" or "data.set" object. It is possible to copy this so described structure from one "data.set" object to another or to a data frame.
- R
Published by melff over 7 years ago
memisc -
- Adapt 'spss.fixed.file' to data files with lines that are "too long".
- Export C-function 'readfixedslice'.
- R
Published by melff over 7 years ago
memisc -
- Define `double()' only if R version is < 3.6.0
- Remove crossrefs to 'car' package to escape the dependency hell created by that package
- R
Published by melff over 7 years ago
memisc -
- Handle SPSS "Portable files" with weights and empty value labels
- R
Published by melff over 7 years ago
memisc -
2017-12-20: - Explicitly allow installation with R versions from 3.3.0 - Fixed warning about tautological comparisons shown by check with flavor 'r-devel-linux-x86_64-fedora-clang'.
- R
Published by melff about 8 years ago
memisc -
2017-12-19: - Fix compilation problems with R version < 3.4
2017-12-11: - Made bracket subsetting of mtable results safer and more coherent.
2017-12-10: - Allow package to be installed and run with R versions < to 3.4
- R
Published by melff about 8 years ago
memisc -
2017-12-01: - Set a more sensible default for optional argument "show.eqnames" and global option "mtable.show.eqnames".
- R
Published by melff about 8 years ago
memisc -
- Made the display of left-hand sides of model equations optional in the
output of
mtable()by providing an optional argument "show.eqnames" and a global option "mtable.show.eqnames". - Fixed (internal)
readChunkmethod for fixed-format files with SPSS meta data. - Made 'toLatex.escape.tex' an explicit option for 'toLatex' methods provided by the package
- R
Published by melff over 8 years ago
memisc - 0.99.15-alpha.1
- 'print' method for 'mtable' objects now shows a legend for significance symbols.
- R
Published by melff over 8 years ago
memisc - 0.99.15-alpha.0
- Fixed (internal)
readChunkmethod for fixed-format files with SPSS meta data. - Implemented explicit option to control whether equation titles names of dept. variables) are printed from `mtable'.
- R
Published by melff over 8 years ago
memisc -
- Made 'toLatex.escape.tex' an explicit option for 'toLatex' methods
- R
Published by melff over 8 years ago
memisc -
- Included 'readsysfileslice' in 'CallMethods'
- Removed some potentially stale links from vignette 'mtable-html'
- R
Published by melff over 8 years ago
memisc -
- Empty cells in HTML tables (which break their formatting by 'pandoc' if included in markdown format files) are now avoided
- R
Published by melff over 8 years ago
memisc -
2017-09-03: - Completed list of exported C functions in 'CallMethods' - Removed getSummary support for long obsolete class 'mer' - Adapted getSummary support for class 'merMod' - Removed 'varPar.as.coef' argument from 'getSummary.merMod'
2017-09-02: - Moved basic getSummary methods into specific file - Made excaping of '$', '_', '^' optional when exporting to LaTeX - Adapted getSummary methods contributed by Christopher Lawrence (polr, clm, simex) to new version of 'mtable' - Adapted getSummary methods contributed by Jason W Morgan to new version of 'mtable' - Adapted getSummary methods contributed by Dave Atkins to new version of 'mtable'
2017-09-02: - Adapted getSummary methods contributed by Achim Zeileis (ivreg, tobit, hurdle, zeroinfl, betareg, multinom) to new version of 'mtable'
2017-08-18: - Improved array semantics of 'mtable' objects. Reordering of coefficients should work as expected after regression introduced by last refactoring. - Standard getsummary methods now report name of dependent variables - 'mtable' now reports dependent variables of single equation models, if they differ (and the 'getSummary' methods support this) - Fixed relabeling of 'mtable' results after regression introduced by last refactoring. - 'mtable' optionally shows dependent variables even if they are the same in all models.
- R
Published by melff over 8 years ago
memisc -
- Make sure that
PrettyNames()is always applied when anmtableobject is formatted. - Escape TeX active chars
$,_,^intoLatex()methods etc.
- R
Published by melff over 8 years ago
memisc -
- Fix handling of matrices contained in data frames by
toLatex() useDcolumnanduseBooktabsarguments oftoLatex()methods now have global options as defaults
- R
Published by melff over 8 years ago
memisc - 0.99.12
- Restrict visibility of object code symbols to package initialisation routine
- Deal with PROJECT issues reported by Tomas Kalibera: Add PROTECT to objects for which attributes are set
- Provide Call method registration for functions called from C-code
- Bugfixes for
repr_html()methods - Eliminate dependence on IRdisplay package
- R
Published by melff over 8 years ago
memisc - 0.99.10
Support for different parameter sections is added to
mtable. This is intended to allow output of mixed effects models to distinguish between ("fixed effects") coefficients and variance parameters.Objects created by
mtable()also can have several header lines. Facilities to add additional header lines will be added soon.
- R
Published by melff over 8 years ago
memisc -
- Fixed handling of empty summaries in
mtable() - Better "splash screen" section of LaTeX formatted mtable objects.
- R
Published by melff almost 9 years ago
memisc - 0.99.9.1
- Fixed a bug in
relabelmethod foritemobjects.relabel(x,...,gsub=TRUE)should now work as expected. - Fixed a bug in
readLabPorStream, coming from wrong assumptions about the encoding of value labels of character string variables in "portable" files. Some more SPSS "portable" files should now read into R.
- R
Published by melff about 9 years ago
memisc -
- New
withVCovandwithSEgeneric functions to more conveniently provide sandwich estimates of variances and standard errors in output ofsummaryandmtable
- R
Published by melff about 9 years ago
memisc -
- Fixed extracolsep in
toLatex.ftable()as suggested by Kirill Müller - Made
cases()robust with respect to NA conditions. - Fixed issue #8 -
toLatex.ftable()does no longer attempt to show titles if they are not available. - Fixed issue #1 (error in 'parseSysHeader')
- Fixed 'felicity' issue pointed out by Martin Maechler
- Made formatting of codebooks a bit more robust
- R
Published by melff over 9 years ago
memisc -
2016-02-07: - Unified headlines in vignettes.
2016-02-02:
- Implemented "Date.item" class, which allows to use data.set or as.data.set,
etc. with "Date" objects.
- R
Published by melff about 10 years ago
memisc -
Use any(is.na(...)) instead of anyNA(...) in [.mtable.
- R
Published by melff about 10 years ago
memisc -
Fixed show and codebookEntry methods for "datetime.item" class.
- R
Published by melff about 10 years ago
memisc -
Bugfix: Do not wrap HTML tables and list in HTML paragraphs in format_html.CodebookEntry.
- R
Published by melff about 10 years ago
memisc -
CHANGES SINCE VERSION 0.99.2
NEW FEATURES
show_htmlcan be used with arbitrary output functions, e.g.rstudio::viewer.
DEFUNCT
- Removed
UnZipfrom package, which has been redundant for some time.
- R
Published by melff about 10 years ago
memisc -
CHANGES SINCE VERSION 0.98.10
NEW FEATURES
- A new object-oriented infrastructure for the creation of HTML code
is used in
format_htmlmethods. This infrastructure is exposed by thehtmlfunction. - Support for with model groups in
mtable.c.mtablenow creates groups of models, if arguments are tagged. - Flattened contingency tables (
ftables as they are created by the eponymous function in thestatspackage) can now be combined intoftable_matrixobjects. This can be done by usingrbind()orcbind().
BUGFIXES
- Set dependency to R version >= 3.0 for this is needed for knitr vignettes.
-
strandls.strare imported from theutilspackage to prevent a NOTE in R CMD check
USER-VISIBLE CHANGES
- All vignettes are now using knitr.
- R
Published by melff about 10 years ago
memisc - 0.98.10.1
CHANGES SINCE 0.98.8
NEW FEATURES
- A new
percentagesfunction is added to allow easy creation of tables of percentages.
BUGFIXES
-
Stata.filenow can import Stata 9 and Stata 10 files.
USER-VISIBLE CHANGES
- Format of file produced by
write.mtablecan now be specified using aformat=argument. ButforLaTeX=TRUEstill can be used to get LaTeX files.
- R
Published by melff over 10 years ago
memisc -
CHANGES SINCE 0.98.5
NEW FEATURES
-
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 togetSummary, 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.
- R
Published by melff over 10 years ago
memisc -
CHANGES SINCE 0.98.2
NEW FEATURES
- A function
dsViewis added, which allows a display ofdata.setobjects similar asViewdisplays 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. Furthermtablegains ashow.baseleveloptions, which allows to suppress the display of baseline categories of dummy variables, when dummy variable coefficients are displayed. One can now use asummaryTemplategeneric function for formatting model summaries, in addition to set the template bysetSummaryTemplate. There is also a new argumentsdigitsformtableformatting method functions. - There is now an object class for survey items containing dates, called
"datetime.item" - 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. - A
toLatexmethod exists now fordata.setobjects.
BUGFIXES
-
applyTemplatenow returns empty strings for undefined quantities. -
collectmethod fordata.setsnow works as expected. -
spss.fixed.filenow checks whether there are undefined variables invarlab.fileetc.
USER-VISIBLE CHANGES
- Argument
dropno longer used by functionmtable.
- R
Published by melff over 10 years ago
memisc - v0.98.2
Changes since 0.97
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) functionshow_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 usingformat_html
BUGFIXES
-
spss.fixed.fileis now able to handle labelled strings and value labels and missing values statements. - Internal C-code used by
spss.fixed.fileno longer assumed that arguments are copied - some strange behaviour of objects created byspss.fixed.fileis now corrected. - Description of items in external data sources is more complete now - the same information as for items in internal data.sets.
DEFUNCT
- The functions
Termplot,Simulate, andpanel.errbarsare defunct. Graphics similar to those built withpanel.errbarscan be created with facilities provided by the package "mplot", which is currently available on GitHub.
- R
Published by melff almost 11 years ago
memisc - v0.97
NEW FEATURES
spss.system.fileandspss.portable.filegain atolower=argument that defaults toTRUE, 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 functionWrite()with methods for "codebook" and "description" to make it more convenient to direct the output ofcodebook()anddescription()into text files. - A method for "merMod" objects of the
getSummary()generic function.mtable()now should be able (again) to handle estimation results produced bylmer()andglmer()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 intogetSummary_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 functionAggregate()can be used instead. - Removed
include(),uninclude(), anddetach.sources()as these are flagged as modifying the global namespace.
- R
Published by melff almost 11 years ago