Crandore Hub

AdapSamp

Adaptive Sampling Algorithms

For distributions whose probability density functions are log-concave, the adaptive rejection sampling algorithm can be used to build envelope functions for sampling. For others, we can use the modified adaptive rejection sampling algorithm, the concave-convex adaptive rejection sampling algorithm and the adaptive slice sampling algorithm. So we designed an R package mainly including 4 functions: rARS(), rMARS(), rCCARS() and rASS(). These functions can realize sampling based on the algorithms above.

Versions across snapshots

VersionRepositoryFileSize
1.1.1 rolling linux/jammy R-4.5 AdapSamp_1.1.1.tar.gz 50.8 KiB
1.1.1 rolling linux/noble R-4.5 AdapSamp_1.1.1.tar.gz 50.7 KiB
1.1.1 rolling source/ R- AdapSamp_1.1.1.tar.gz 6.8 KiB
1.1.1 latest linux/jammy R-4.5 AdapSamp_1.1.1.tar.gz 50.8 KiB
1.1.1 latest linux/noble R-4.5 AdapSamp_1.1.1.tar.gz 50.7 KiB
1.1.1 latest source/ R- AdapSamp_1.1.1.tar.gz 6.8 KiB
1.1.1 2026-04-26 source/ R- AdapSamp_1.1.1.tar.gz 6.8 KiB
1.1.1 2026-04-23 source/ R- AdapSamp_1.1.1.tar.gz 6.8 KiB
1.1.1 2026-04-09 windows/windows R-4.5 AdapSamp_1.1.1.zip 53.9 KiB
1.1.1 2025-04-20 source/ R- AdapSamp_1.1.1.tar.gz 6.8 KiB

Dependencies (latest)

Imports