Skip to content

stddiff

Calculate the Standardized Difference for Numeric, Binary and Category Variables

v3.1 · Jun 10, 2022 · GPL-3

Description

Contains three main functions including stddiff.numeric(), stddiff.binary() and stddiff.category(). These are used to calculate the standardized difference between two groups. It is especially used to evaluate the balance between two groups before and after propensity score matching.

Downloads

CRAN

1.2K

Last 30 days

3277th

4K

Last 90 days

14.2K

Last year

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

r2u CRAN

10

Last 30 days

28

Last 90 days

113

Last year

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

autoCRAN

1

Last 7 days

10

Last 30 days

0

All-time

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

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
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 details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Zhicheng Du<dgdzc@hotmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Zhicheng",
                      family = "Du",
                      role = c("aut", "cre"),
                      email = "dgdzc@hotmail.com"),
               person(given = "Yuantao",
                      family = "Hao",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Zhicheng Du<dgdzc@hotmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Zhicheng",
                      family = "Du",
                      role = c("aut", "cre"),
                      email = "dgdzc@hotmail.com"),
               person(given = "Yuantao",
                      family = "Hao",
                      role = "aut"))
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Zhicheng Du<dgdzc@hotmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Zhicheng",
                      family = "Du",
                      role = c("aut", "cre"),
                      email = "dgdzc@hotmail.com"),
               person(given = "Yuantao",
                      family = "Hao",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Zhicheng Du<dgdzc@hotmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Zhicheng",
                      family = "Du",
                      role = c("aut", "cre"),
                      email = "dgdzc@hotmail.com"),
               person(given = "Yuantao",
                      family = "Hao",
                      role = "aut"))
as necessary.

Reverse Dependencies (4)

depends

imports

suggests

Dependency Network

Dependencies Reverse dependencies bulkQC MAGMA.R smd stddiff.spark stddiff

Version History

5 tracked
new 3.1 Mar 10, 2026
updated 3.1 ← 3.0 diff Jun 9, 2022
updated 3.0 ← 2.0 diff Dec 15, 2019
updated 2.0 ← 1.0 diff Apr 11, 2017
new 1.0 Jun 15, 2016