Releases
2.7.5
General
Reduce package dependencies.
New functions
de_mean()
to compute group-meaned and de-meaned variables.
add_variables()
and add_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()
and seq_row()
as convenient wrapper to create a regular sequence for column or row numbers.
Changes to functions
descr()
gets a weights
-argument, to print weighted descriptive statistics.
The n
-argument in row_means()
and row_sums()
now also may be Inf
, to compute means or sums only if all values in a row are valid (i.e. non-missing).
Argument weight.by
in frq()
was renamed into weights
.
frq()
gets a title
-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, when weights
was not NULL
.
Fixed issue with wrong title in frq()
for grouped data frames, when grouping variable was an unlabelled factor.
You can’t perform that action at this time.