Added .Deprecated() wrappers to 13 legacy function names (e.g.,
makeBalancedPanel, rhs.vars). The old names remain fully functional
but now emit deprecation warnings; removal is planned for a future version.
Fixed bug in rhs() where it was internally calling the deprecated
rhs.vars() instead of rhs_vars(), causing spurious deprecation warnings
Fixed bug in panel2cs2() where outcomes could shift across unit boundaries
in unbalanced panels when balance_panel = FALSE
Updated license from GPL-2 to GPL-3
Updated minimum R version from 3.1.0 to 4.1.0
Moved caret from Imports to Suggests; it is only required for
drop_collinear() and will prompt a clear error if not installed
Added @importFrom data.table .N .SD in place of @import data.table
to reduce namespace pollution
Added roxygen2 examples to many previously undocumented exported functions
Expanded test suite with coverage for panel utilities, distribution functions, weighted statistics, formula utilities, and Rcpp functions
added function weighted_combine_list for computing weighed averages of
a list of matrices or vectors
moved functions t2orig and orig2t to BMisc from pte package
add function drop_collinear to drop collinear columns from a matrix
add function get_principal_components to get unit-specific principal components of time-varying variables
add function time_invariant_to_panel for repeating time-invariant variables, mainly with the
idea of adding them into a panel data set
update get_group to allow for non-binary treatments
add function check_staggered to check if a panel data set has staggered treatment adoption,
this function can work with non-binary treatments
Adds functions get_group, get_YiGmin1, and get_Yi1 as utility functions for manipulating data. This is especially useful for settings with staggered treatment adoption.
Add functions get_lagYi and get_first_difference as more utility functions for working with panel data.
Add function get_Yit which recovers outcomes
in period t for all units in a panel.
Restore default of makeBalancedPanel to return a data.frame rather than a data.table. New function argument return_data.table allows for returning a data.table if this is the desired functionality from the user.
Fixes documentation NOTE in id2rownum
subsample and blockBootSample if plm package is available (thanks Achim Zeileis)panel2cs2 (thanks Kyle Butts)added Rcpp multiplier_bootstrap function
added TorF function, a vectorized version of isTRUE
allow for additional arguments in combineDfs function
changed package maintainer contact information
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
Update rhs.vars to fix bug related to formulas like y~x+I(x^2)
Added function \code{invertEcdf} to take distribution functions (ecdf objects) and turn them into step functions for the quantiles.
Improved code for working with formulas