Package: rust Type: Package Title: Ratio-of-Uniforms Simulation with Transformation Version: 1.4.4 Date: 2026-01-11 Authors@R: person(c("Paul", "J."), "Northrop", email = "p.northrop@ucl.ac.uk", role = c("aut", "cre", "cph")) Description: 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) , 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 can be used to improve efficiency. Imports: graphics, Rcpp (>= 0.12.10), stats License: GPL (>= 2) Encoding: UTF-8 Depends: R (>= 3.3.0) RoxygenNote: 7.3.3 Suggests: bang, knitr, microbenchmark, revdbayes, rmarkdown, testthat VignetteBuilder: knitr URL: https://paulnorthrop.github.io/rust/, https://github.com/paulnorthrop/rust BugReports: https://github.com/paulnorthrop/rust/issues LinkingTo: Rcpp (>= 0.12.10), RcppArmadillo Config/testthat/edition: 3 Repository: https://paulnorthrop.r-universe.dev Date/Publication: 2026-01-11 14:48:01 UTC RemoteUrl: https://github.com/paulnorthrop/rust RemoteRef: HEAD RemoteSha: c9fda897847f1a1149c4461ba2433e4eb9b0f8c6 NeedsCompilation: yes Packaged: 2026-06-24 02:47:51 UTC; root Author: Paul J. Northrop [aut, cre, cph] Maintainer: Paul J. Northrop