Published September 13, 2018
| Version 2.7.5
Software
Open
sjmisc: Data and Variable Transformation Functions
Description
General
- Reduce package dependencies.
New functions
de_mean()
to compute group-meaned and de-meaned variables.add_variables()
andadd_case()
to add columns or rows in a convenient way to a data frame.move_columns()
to move one or more columns to another position in a data frame.is_num_chr()
to check whether a character vector has only numeric strings.seq_col()
andseq_row()
as convenient wrapper to create a regular sequence for column or row numbers.
Changes to functions
descr()
gets aweights
-argument, to print weighted descriptive statistics.- The
n
-argument inrow_means()
androw_sums()
now also may beInf
, to compute means or sums only if all values in a row are valid (i.e. non-missing). - Argument
weight.by
infrq()
was renamed intoweights
. frq()
gets atitle
-argument, to specify an alternative title to the variable label.
Bug fixes
round_num()
preserves data frame attributes.frq()
printed frequencies of grouping-variable for grouped data frames, whenweights
was notNULL
.- Fixed issue with wrong title in
frq()
for grouped data frames, when grouping variable was an unlabelled factor.
Files
strengejacke/sjmisc-2.7.5.zip
Files
(1.2 MB)
Name | Size | Download all |
---|---|---|
md5:c50e105ee7008c09f9f3a21943bd6abb
|
1.2 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/strengejacke/sjmisc/tree/2.7.5 (URL)