Skip to content

BMisc

Miscellaneous Functions for Panel Data, Quantiles, and Printing Results

v1.4.9 · Jun 11, 2026 · GPL-3

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.

Downloads

CRAN

10.4K

Last 30 days

1160th

31.1K

Last 90 days

111.2K

Last year

Trend: -13.3% (30d vs prior 30d)

r2u CRAN

91

Last 30 days

241

Last 90 days

1.9K

Last year

Trend: +31.9% (30d vs prior 30d)

autoCRAN

5

Last 7 days

35

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘caret’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
ERROR r-release-macos-x86_64

package dependencies

Package required but not available: ‘caret’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/BMisc.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 8, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 7, 2026
ERROR r-devel-linux-x86_64-fedora-gcc
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Code metrics have not been computed for this package yet.

Reverse Dependencies (8)

Dependency Network

Dependencies Reverse dependencies data.table dplyr Rcpp tidyr DRDID cdid contdid did fastdid ptetools qte triplediff BMisc

Version History

16 tracked
updated 1.4.9 ← 1.4.8 diff Jun 11, 2026
new 1.4.8 Mar 10, 2026
updated 1.4.8 ← 1.4.7 diff Feb 3, 2025
updated 1.4.7 ← 1.4.6 diff Jan 9, 2025
updated 1.4.6 ← 1.4.5 diff Mar 8, 2024
updated 1.4.5 ← 1.4.4 diff Jul 10, 2022
updated 1.4.4 ← 1.4.3 diff Jan 25, 2022
updated 1.4.3 ← 1.4.2 diff Dec 8, 2021
updated 1.4.2 ← 1.4.1 diff Dec 17, 2020
updated 1.4.1 ← 1.3.1 diff Mar 31, 2020
updated 1.3.1 ← 1.3.0 diff Aug 14, 2018
updated 1.3.0 ← 1.2.0 diff Jul 16, 2018
updated 1.2.0 ← 1.1.1 diff Feb 26, 2018
updated 1.1.1 ← 1.0.1 diff Nov 5, 2017
updated 1.0.1 ← 1.0.0 diff Jun 14, 2017