datawizard 0.12.0
BREAKING CHANGES
-
The argument
include_naindata_tabulate()anddata_summary()has been
renamed intoremove_na. Consequently, to mimic former behaviour,FALSEand
TRUEneed to be switched (i.e.remove_na = TRUEis equivalent to the former
include_na = FALSE). -
Class names for objects returned by
data_tabulate()have been changed to
datawizard_tableanddatawizard_crosstable(resp. the plural forms,
*_tables), to provide a clearer and more consistent naming scheme.
CHANGES
-
data_select()can directly rename selected variables when a named vector
is provided inselect, e.g.data_select(mtcars, c(new1 = "mpg", new2 = "cyl")). -
data_tabulate()gains anas.data.frame()method, to return the frequency
table as a data frame. The structure of the returned object is a nested data
frame, where the first column contains name of the variable for which
frequencies were calculated, and the second column contains the frequency table. -
demean()(anddegroup()) now also work for cross-classified designs, or
more generally, for data with multiple grouping or cluster variables (i.e.
bycan now specify more than one variable).