Recent Releases of rust
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.4.3
rust 1.4.3
Bug fixes and minor improvements
- Corrected typos and made cosmetic improvements to the package manual.
- Out new version on CRAN to assist in investigating the CRAN package check errors and warnings for the revdbayes package, which imports functions from rust.
- R
Published by paulnorthrop almost 2 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.4.2
rust 1.4.2
Bug fixes and minor improvements
- The issue described at https://github.com/RcppCore/Rcpp/issues/1287 has been fixed to avoid WARNINGs from CRAN checks on some platforms. Thank you to Dirk Eddelbuettel for providing the fix so quickly!
- R
Published by paulnorthrop over 2 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.4.1
rust 1.4.1
Bug fixes and minor improvements
- The unnecessary C++11 specification has been dropped to avoid a CRAN Package Check NOTE.
- README.md: Used app.codecov.io as base for codecov link.
- R
Published by paulnorthrop over 2 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.4.0
rust 1.4.0
New features
ru()andru_rcpp()have an additional argumentmodethat allows the user to specify the known mode of the input functionlogfinstead of finding it using numerical methods.
Bug fixes and minor improvements
An extra example has been added to
ru(), involving different Box-Cox transformation parameters for different component variables.The list object returned from the function
ru()has an extra component namedtrans_fn. This is an R function that performs the inverse transformation from the transformed variable $\rho$, on which the generalised ratio-of-uniforms method is performed, back to the original variable $\theta$.The documentation of the functions
ru()andru_rcpp()now note that if the argumentn = 0is passed then the ratio-of-uniforms bounding box is returned but no simulation is performed. This may be useful if the bounding box itself is of interest.In the description of the argument
logftoru()andru_rcpp()it is advised thatlogf =should be provided explicitly to avoid the potential for argument matching problems.In
plot.ru()the argumentsxlabsandylabshave been super-seeded by an argumentvar_names, which can be used to provide variable names for use as axis labels.Improvements to the package manual.
Activated 3rd edition of the
testthatpackageWARNINGs in the CRAN package check results, like "init.c:60:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] extern SEXP revdbayesRcppExport_registerCCallable();" have been avoided.
- R
Published by paulnorthrop over 3 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.3.13
rust 1.3.13
Bug fixes and minor improvements
- In help files and vignettes DOIs are used rather than URLs.
- R
Published by paulnorthrop over 4 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.3.12
rust 1.3.12
Bug fixes and minor improvements
LazyData: TRUEhas been removed from DESCRIPTION, because there is no data/ directory in rust.
- R
Published by paulnorthrop almost 5 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.3.11
rust 1.3.11
Bug fixes and minor improvements
- In
ru()ifisTRUE()is used to deal correctly with instances where there are missing values in the generalised ratio-of-uniforms test condition.
- R
Published by paulnorthrop about 5 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.3.10
rust 1.3.10
Bug fixes and minor improvements
- This is a patch that avoids the CRAN package check NOTEs resulting from the use of revdbayes::: instead of revdbayes::.
- R
Published by paulnorthrop over 5 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.3.9
rust 1.3.9
- This is a patch aimed at avoiding false positive CRAN package check warnings on some platforms.
- R
Published by paulnorthrop almost 6 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.3.8
rust 1.3.8
Bug fixes and minor improvements
Dependence on the spatstat package has been removed.
In the S3 plot method
plot.ru()warnings, stemming from stats::regularize.values(), which is called by stats::approx(), have been suppressed.A very basic S3 print method
print.ru()has been added, which simply prints the call toru()orru_rcpp().
- R
Published by paulnorthrop over 6 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.3.7
rust 1.3.7
Bug fixes and minor improvements
An extra argument
shoofhas been added toru()andru_rcpp()to enable the user to have control over the initial value used to check that a non-zero convergence indicator is indeed spurious.Functions that are not intended to be called by the user have been moved to rust-internal.R
Use
inherits()to check the class of objects returned fromtry(), rather thanclass().Hyperlinks corrected in vignettes.
pkgdown documentation at https://paulnorthrop.github.io/rust/
- R
Published by paulnorthrop over 6 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.3.6
rust 1.3.6
Bug fixes and minor improvements
Further steps are taken in the opimisations used to set up the ratio-of-uniforms bounding box (specifically in finda() and in cppfind_a()) to avoid erroneous (lack of) convergence warnings. These can occur if we start the optimisation algorithm too close to the solution.
LF line endings used in inst/include/rust.h and inst/include/rust_RcppExports.h to avoid CRAN NOTE
- R
Published by paulnorthrop over 7 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.3.5
rust 1.3.5
Bug fixes and minor improvements
The summary method for class "ru" is now set up according to Section 8.1 of the R FAQ at (https://cran.r-project.org/doc/FAQ/R-FAQ.html).
In the extra checks used to try to avoid erroneous convergence warnings lower and upper bounds on the parameters are now used.
Corrected minor typo in the penultimate sentence of the "Cauchy density" subsection in the "When can rust be used vignette": b1* should be b1+.
- R
Published by paulnorthrop about 8 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation v1.3.4
rust 1.3.4
New features
- New vignette. "When can rust be used?".
- R
Published by paulnorthrop over 8 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation version 1.2.3
Bug fixes and minor improvements
In
ru()andru_rcpp()the constanthscaleis used to shiftlogf(and hence scale the target density f) in functionlogfin the returned object. This helps to avoid over/under-flow when contouring f inplot.ruwhend = 2.The
var_namesargument toru_rcppdidn't work. This has been corrected.The arguments
lower, uppertoruandru_rcppare now used, at least partly even whenrotate = TRUE. See the updated description oflower, upperin the documentation ofruandru_rcpp.That the function
logfsupplied toruorru_rcppshould return-Infwhen the density f is zero is stated explicitly in the help files.ru() did not work when
trans = "user"andd> 1. This has been corrected.Extra checks are used to try to avoid erroneous convergence warnings.
Incorrectly formatted link to the Rcpp Gallery webpage corrected in the vignette "Rusting Faster: Simulation using Rcpp".
Extra examples provided for
ruand forru_rcpp: (a) Cauchy, (b) half-Cauchy and (c) bivariate normal x bivariate student-t.
- R
Published by paulnorthrop almost 9 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation version 1.2.2
Bug fixes and minor improvements
- An overloading ambiguity has been corrected to ensure installation on Solaris.
- R
Published by paulnorthrop almost 9 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation version 1.2.1
Bug fixes and minor improvements
Corrected C++ function
vecpowto avoid compilation errors on some platforms.Unnecessary dependence on packages
devtoolsandroxygen2via Suggests is removed.Minor edit to vignette: provide link directly to example C++ file
user_fns.cppinsrcdirectory, rather than the the (identical)example_user_fns.cppfile in thevignettesdirectory.
- R
Published by paulnorthrop about 9 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation version 1.2.0
rust 1.2.0
New features
Packages Rcpp (https://CRAN.R-project.org/package=Rcpp) and RcppArmadillo (https://CRAN.R-project.org/package=RcppArmadillo) to speed up the computations if the user provides a C++ function to evaluate their target log-density.
New functions:
ru_rcpp,find_lambda_rcppandfind_lambda_one_d_rcpp.New vignette. "Rusting faster: Simulation using Rcpp".
Bug fixes and minor improvements
Bug fixed in
plot.ru(): previouslyplot.ru()failed whend > 2and no axis label names were provided.Bug fixed in
plot.ru: previously, in thed = 2case, providing the graphical parametercolproduced an error becausecol = 8was hard-coded in a call topoints. Now the extra argumentpoints_parenables the user to provide a list of arguments topoints."using
pairs()" removed from the last sentence Description ofplot.ru()becausepairs()is not used whend > 2, rather a single plot is produced for each pair of variables.Obsolete function
rho_to_theta()removed from functionruinru_sampling.R.If the user calls
ru(orru_rcpp) withtrans = "user"but doesn't supplyphi_to_thetathen an error is returned.plot.ruedited to avoid warning message that occurred in thed=1case whenbreakswas supplied as an argument.The functions
rgpd,gpd_sum_stats,gpd_initandgpd_logpostare now exported.
- R
Published by paulnorthrop about 9 years ago
rust - rust: Ratio-of-Uniforms Simulation with Transformation version 1.1.0
rust 1.1.0
New features
plot.ru()can now be used whend > 2: it produces pairwise plots of the simulated values.find_lamba(): argumentinit_lambdaadded to enable the user to supply an initial value for the Box-Cox transformation vectorlambda.
Bug fixes and minor improvements
- Unnecessary print statement
print(dim(phi))removed from functionfind_lambda(). - Unnecessary print statement
print(a_algor)removed from functionru(). - Correct
lambda$inittolambda$init_psiinru()when extracting Box-Cox information. - Documentation of
ru()updated to include a description of the returned functionlogf_rho()and simulated valuessim_vals_rhoand to clarify the meaning of the returned value off_mode. ru(): the expression for the inverse Box-Cox transformation in the case where lambda is exactly 0 has been corrected.find_lambda(): carry out calculation of the target on a shifted log scale to avoid underflow.- Set up
plot.ru()so that if the user supplies axis labels then they are used and otherwise the column name(s) ofru_object$sim_valsare used.
Also enable plotmath symbols to be rendered in the axis labels.
- R
Published by paulnorthrop over 9 years ago