Releases: lbelzile/TruncatedNormal
Releases · lbelzile/TruncatedNormal
Version 2.3
Version 2.3
Bug fixes
rtnorm
now checks arguments length and throw an error rather than try to recycle mean and standard deviation vectors (issue #6).rtnorm
recycles arguments whenltrunc
orrtrunc
are length 1.*tmvt
and*tmvnorm
now check that the scale matrixsigma
is symmetric, positive-definite and non-degenerate (issue #8) by default.rmvnorm
returns a vector rather than an 1 by n matrix for the unidimensional setting.- Degrees of freedom larger than 350 are not treated as infinite, as the code suffers from overflow and returns missing values otherwise.
Changes
- The package uses
tinytest
rather thantestthat
for unit tests. - Since scrambling is disabled in
randtoolbox
(throwing warning messages), the package now relies on theqrng
package and the Owen scrambling method fromspacefillr
package for quasi Monte Carlo. - Added alias in package documentation, as requested by Kurt Hornik.
v2.2
v2.1
v2.0
Version 2.0
- Can specify mean vector directly in the functions
- Functions for multivariate Student simulation ported from Matlab
- Change to the interface
- Many functions now internal (documented)
- Cholesky matrix permutation (GGB and GE reordering now supported)
- Selected code rewritten in Rcpp
- New vignette
- Removed random seed
- Change to the Sobol sequence because previously used package is unmaintained (no more scrambling for QMC)
- Throw error if NaN in bounds
- Handle univariate cases in mvrandt and mvrandn
- Use nleq solver to solve convex program (also check KKT conditions)