Skip to content

CDsampling

Constrained Sampling in Paid Research Studies

v0.1.6 · Apr 5, 2025 · MIT + file LICENSE

Description

In the context of paid research studies and clinical trials, budget considerations and patient sampling from available populations are subject to inherent constraints. We introduce the 'CDsampling' package, which integrates optimal design theories within the framework of constrained sampling. This package offers the possibility to find both D-optimal approximate and exact allocations for samplings with or without constraints. Additionally, it provides functions to find constrained uniform sampling as a robust sampling strategy with limited model information. Our package offers functions for the computation of the Fisher information matrix under generalized linear models (including regular linear regression model) and multinomial logistic models.To demonstrate the applications, we also provide a simulated dataset and a real dataset embedded in the package. Yifei Huang, Liping Tong, and Jie Yang (2025)<doi:10.5705/ss.202022.0414>.

Downloads

296

Last 30 days

13740th

663

Last 90 days

2.6K

Last year

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

CRAN Check Status

14 OK
Show all 14 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-macos-arm64 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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies lpSolve Rglpk CDsampling

Version History

new 0.1.6 Mar 10, 2026
updated 0.1.6 ← 0.1.5 diff Apr 4, 2025
updated 0.1.5 ← 0.1.4 diff Mar 29, 2025
updated 0.1.4 ← 0.1.3 diff Jan 10, 2025
updated 0.1.3 ← 0.1.2 diff Jan 7, 2025
updated 0.1.2 ← 0.1.1 diff Nov 18, 2024
updated 0.1.1 ← 0.1.0 diff Oct 12, 2024
new 0.1.0 Oct 6, 2024