CRAN
MPkn 0.1.0
Calculations of One Discrete Model in Several Time Steps
Released May 7, 2018 by Josef Brejcha
A matrix discrete model having the form 'M[i+1] = (I + Q)*M[i]'. The calculation of the values of 'M[i]' only for pre-selected values of 'i'. The method of calculation is presented in the vignette 'Fundament' ('Base'). Maybe it`s own idea of the author of the package. A weakness is that the method gives information only in selected steps of the process. It mainly refers to cases with matrices that are not Markov chain. If 'Q' is Markov transition matrix, then MUPkL() may be used to calculate the steady-state distribution 'p' for 'p = Q*p'. Matrix power of non integer (matrix.powerni()) gives the same results as a mpower() from package 'matlib'. References: "Markov chains", (
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>MPkn</artifactId> <version>0.1.0-b3</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:MPkn')
Test Results
This package was last tested against Renjin 0.9.2687 on Aug 24, 2018.