Published August 5, 2018
| Version 2.7.4
Software
Open
sjmisc: Data and Variable Transformation Functions
Description
New functions
has_na()to check if variables or observations in a data frame containNA,NaNorInfvalues. Convenient shortcuts for this function arecomplete_cases(),incomplete_cases(),complete_vars()andincomplete_vars().total_mean()to compute the overall mean of all values from all columns in a data frame.prcn()to convert numeric scalars between 0 and 1 into a character-percentage value.numeric_to_factor()to convert numeric variables into factors, using associated value labels as factor levels.
Changes to functions
set_na()now also replaces different values per variable intoNA.- Changed behaviour of
row_sums()and missing values.row_sums()gets an-argument and now computes row sums if a row has at leastnnon-missing values.
Files
strengejacke/sjmisc-2.7.4.zip
Files
(698.5 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:ed7fa973fcd43db528d8828d45f69529
|
698.5 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/strengejacke/sjmisc/tree/2.7.4 (URL)