rust

Ratio-of-Uniforms Simulation with Transformation

CRAN Package

Uses the generalized ratio-of-uniforms (RU) method to simulate from univariate and (low-dimensional) multivariate continuous distributions. The user specifies the log-density, up to an additive constant. The RU algorithm is applied after relocation of mode of the density to zero, and the user can choose a tuning parameter r. For details see Wakefield, Gelfand and Smith (1991) <doi:10.1007/BF01889987>, Efficient generation of random variates via the ratio-of-uniforms method, Statistics and Computing (1991) 1, 129-133. A Box-Cox variable transformation can be used to make the input density suitable for the RU method and to improve efficiency. In the multivariate case rotation of axes can also be used to improve efficiency. From version 1.2.0 the 'Rcpp' package <https://cran.r-project.org/package=Rcpp> can be used to improve efficiency.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 736 times in the last 30 days. This could be a paper that people cite without reading. Reaching the medium popularity echelon is no small feat! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 21 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
0 downloadsMar 4, 2025
58 downloadsMar 5, 2025
21 downloadsMar 6, 2025
19 downloadsMar 7, 2025
8 downloadsMar 8, 2025
8 downloadsMar 9, 2025
6 downloadsMar 10, 2025
34 downloadsMar 11, 2025
34 downloadsMar 12, 2025
17 downloadsMar 13, 2025
14 downloadsMar 14, 2025
53 downloadsMar 15, 2025
23 downloadsMar 16, 2025
13 downloadsMar 17, 2025
31 downloadsMar 18, 2025
47 downloadsMar 19, 2025
34 downloadsMar 20, 2025
43 downloadsMar 21, 2025
40 downloadsMar 22, 2025
3 downloadsMar 23, 2025
19 downloadsMar 24, 2025
10 downloadsMar 25, 2025
23 downloadsMar 26, 2025
18 downloadsMar 27, 2025
59 downloadsMar 28, 2025
5 downloadsMar 29, 2025
17 downloadsMar 30, 2025
12 downloadsMar 31, 2025
34 downloadsApr 1, 2025
12 downloadsApr 2, 2025
21 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
3
59

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 9,662 times in the last 365 days. Impressive! The kind of number that makes colleagues ask, 'How did you do it?' The day with the most downloads was Feb 20, 2025 with 93 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports1 package
  • Suggests6 packages
  • Linking To2 packages
  • Reverse Imports5 packages