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
added source_all function
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)
Update toformula to allow for no right hand side variables
Added function to take distribution functions (ecdf objects) and turn them into step functions for the quantiles.
Improved code for working with formulas