Package: BMisc
Title: Miscellaneous Functions for Panel Data, Quantiles, and Printing
        Results
Version: 1.4.9
Authors@R: person("Brantly", "Callaway", email = "brantly.callaway@uga.edu", role = c("aut", "cre"))
Description: These are miscellaneous functions for working with panel data, quantiles, and printing results.  For panel data, the package includes functions for making a panel data balanced (that is, dropping missing individuals that have missing observations in any time period), converting id numbers to row numbers, and to treat repeated cross sections as panel data under the assumption of rank invariance.  For quantiles, there are functions to make distribution functions from a set of data points (this is particularly useful when a distribution function is created in several steps), to combine distribution functions based on some external weights, and to invert distribution functions.  Finally, there are several other miscellaneous functions for obtaining weighted means, weighted distribution functions, and weighted quantiles; to generate summary statistics and their differences for two groups; and to add or drop covariates from formulas.  Additional utilities support staggered treatment adoption settings, including functions for identifying treatment groups, recovering pre-treatment outcomes and covariate averages, and computing lagged outcomes and first differences in panel data.
Depends: R (>= 4.1.0)
Imports: data.table, dplyr, Rcpp, tidyr
License: GPL-3
Suggests: testthat (>= 3.0.0), plm, tibble, caret
Encoding: UTF-8
Config/testthat/edition: 3
LinkingTo: Rcpp, RcppArmadillo
URL: https://bcallaway11.github.io/BMisc/
BugReports: https://github.com/bcallaway11/BMisc/issues
Config/roxygen2/version: 8.0.0
NeedsCompilation: yes
Packaged: 2026-05-25 19:47:53 UTC; bmc43193
Author: Brantly Callaway [aut, cre]
Maintainer: Brantly Callaway <brantly.callaway@uga.edu>
Repository: CRAN
Date/Publication: 2026-06-11 09:10:10 UTC
Built: R 4.5.2; aarch64-apple-darwin20; 2026-06-11 10:52:40 UTC; unix
Archs: BMisc.so.dSYM
