CRAN
MultiRNG 1.2.2
Multivariate Pseudo-Random Number Generation
Released May 14, 2019 by Ran Gao
This package can be loaded by Renjin but 6 out 11 tests failed.
Pseudo-random number generation for 11 multivariate distributions: Normal, t, Uniform, Bernoulli, Hypergeometric, Beta (Dirichlet), Multinomial, Dirichlet-Multinomial, Laplace, Wishart, and Inverted Wishart. The details of the method are explained in Demirtas (2004)
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>MultiRNG</artifactId> <version>1.2.2-b1</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:MultiRNG')
Test Results
This package was last tested against Renjin 0.9.2726 on Jul 13, 2019.
- draw.correlated.binary-examples
- draw.d.variate.normal-examples
- draw.d.variate.t-examples
- draw.d.variate.uniform-examples
- draw.dirichlet-examples
- draw.dirichlet.multinomial-examples
- draw.multinomial-examples
- draw.multivariate.hypergeometric-examples
- draw.multivariate.laplace-examples
- generate.point.in.sphere-examples
- loc.min-examples