There is a newer version of this record available.

Software Open Access

sjmisc: Data and Variable Transformation Functions

Daniel Lüdecke

New functions

  • round_num() to round only numeric values in a data frame.


  • Improved performance for merge_df(). Furthermore, add_rows() was added as alias for merge_df().
  • merge_df() resp. add_rows() now create a unique id-name instead of dropping the ID-variable, in case id has the same name of any existing variables in the provided data frames.
  • Improved performance for descr() and minor changes to the output.

Support for mids-objects (package mice)

Following functions now also work on mids-objects, as returned by the mice()-function:

  • row_count(), row_sums(), row_means(), rec(), dicho(), center(), std(), recode_to() and to_long().

Changes to functions

  • The in frq() now should be a variable name from a variable in x, and no longer a separate vector.

Bug fixes

  • descr() does not work with character vectors, so these are being removed now.

Files (208.7 kB)
Name Size
208.7 kB Download
All versions This version
Views 8932
Downloads 265
Data volume 18.7 MB1.0 MB
Unique views 6832
Unique downloads 83


Cite as