BMisc 1.4.8
added function
weighted_combine_listfor computing weighed averages of a list of matrices or vectorsmodernized function names to snake case, keeping older function names available as internal functions
BMisc 1.4.7
CRAN release: 2025-01-10
moved functions
t2origandorig2ttoBMiscfromptepackageadd function
drop_collinearto drop collinear columns from a matrixadd function
get_principal_componentsto get unit-specific principal components of time-varying variablesadd function
time_invariant_to_panelfor repeating time-invariant variables, mainly with the idea of adding them into a panel data setupdate get_group to allow for non-binary treatments
add function
check_staggeredto check if a panel data set has staggered treatment adoption, this function can work with non-binary treatments
BMisc 1.4.6
CRAN release: 2024-03-09
Adds functions
get_group,get_YiGmin1, andget_Yi1as utility functions for manipulating data. This is especially useful for settings with staggered treatment adoption.Add functions
get_lagYiandget_first_differenceas more utility functions for working with panel data.Add function
get_Yitwhich recovers outcomes in period t for all units in a panel.Restore default of
makeBalancedPanelto return a data.frame rather than a data.table. New function argumentreturn_data.tableallows for returning a data.table if this is the desired functionality from the user.Fixes documentation NOTE in
id2rownum
BMisc 1.4.5
CRAN release: 2022-07-11
- only execute examples for
subsampleandblockBootSampleifplmpackage is available (thanks Achim Zeileis)
BMisc 1.4.3
CRAN release: 2021-12-09
added Rcpp multiplier_bootstrap function
added TorF function, a vectorized version of isTRUE
allow for additional arguments in combineDfs function
BMisc 1.4.2
CRAN release: 2020-12-18
changed package maintainer contact information
added source_all function
BMisc 1.4.0
removed dependency on plm and formula.tools
add function blockBootSample for block bootstrapping with panel data
add option in makeDist to force the values of the distribution function be between 0 and 1
BMisc 1.3.1
CRAN release: 2018-08-15
Update rhs.vars to fix bug related to formulas like y~x+I(x^2)
Update toformula to allow for no right hand side variables
