Skip to content

dsample

Discretization-Based Direct Random Sample Generation

v0.91.3.4 · Feb 9, 2023 · GPL-3

Description

Discretization-based random sampling algorithm that is useful for a complex model in high dimension is implemented. The normalizing constant of a target distribution is not needed. Posterior summaries are compared with those by 'OpenBUGS'. The method is described: Wang and Lee (2014) <doi:10.1016/j.csda.2013.06.011> and exercised in Lee (2009) <http://hdl.handle.net/1993/21352>.

Downloads

CRAN

251

Last 30 days

17081st

627

Last 90 days

2.6K

Last year

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

r2u CRAN

9

Last 30 days

25

Last 90 days

92

Last year

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

autoCRAN

1

Last 7 days

5

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 OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
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-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘mnormt’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘mnormt’
  All declared Imports should be used.

Check History

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

dependencies in R code

Namespace in Imports field not imported from: ‘mnormt’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘mnormt’
  All declared Imports should be used.

Dependency Network

Dependencies Reverse dependencies MASS mnormt dsample

Version History

6 tracked
new 0.91.3.4 Mar 10, 2026
updated 0.91.3.4 ← 0.91.2.2 diff Feb 8, 2023
updated 0.91.2.2 ← 0.91.1.5 diff Nov 29, 2015
updated 0.91.1.5 ← 0.91.1 diff Jul 1, 2015
updated 0.91.1 ← 0.90 diff May 13, 2013
new 0.90 Jul 29, 2012