Package: markovmix 0.1.3
markovmix: Mixture of Markov Chains with Support of Higher Orders and Multiple Sequences
Fit mixture of Markov chains of higher orders from multiple sequences. It is also compatible with ordinary 1-component, 1-order or single-sequence Markov chains. Various utility functions are provided to derive transition patterns, transition probabilities per component and component priors. In addition, print(), predict() and component extracting/replacing methods are also defined as a convention of mixture models.
Authors:
markovmix_0.1.3.tar.gz
markovmix_0.1.3.zip(r-4.5)markovmix_0.1.3.zip(r-4.4)markovmix_0.1.3.zip(r-4.3)
markovmix_0.1.3.tgz(r-4.4-x86_64)markovmix_0.1.3.tgz(r-4.4-arm64)markovmix_0.1.3.tgz(r-4.3-x86_64)markovmix_0.1.3.tgz(r-4.3-arm64)
markovmix_0.1.3.tar.gz(r-4.5-noble)markovmix_0.1.3.tar.gz(r-4.4-noble)
markovmix_0.1.3.tgz(r-4.4-emscripten)markovmix_0.1.3.tgz(r-4.3-emscripten)
markovmix.pdf |markovmix.html✨
markovmix/json (API)
NEWS
# Install 'markovmix' in R: |
install.packages('markovmix', repos = c('https://zhuxr11.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/zhuxr11/markovmix/issues
- markov_mix_ex - Mixture of Markov chain example
Last updated 12 months agofrom:be31e6cef3. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 18 2024 |
R-4.5-win-x86_64 | OK | Nov 18 2024 |
R-4.5-linux-x86_64 | OK | Nov 18 2024 |
R-4.4-win-x86_64 | OK | Nov 18 2024 |
R-4.4-mac-x86_64 | OK | Nov 18 2024 |
R-4.4-mac-aarch64 | OK | Nov 18 2024 |
R-4.3-win-x86_64 | OK | Nov 18 2024 |
R-4.3-mac-x86_64 | OK | Nov 18 2024 |
R-4.3-mac-aarch64 | OK | Nov 18 2024 |
Exports:fit_markov_mixget_countsget_orderget_priorget_probget_statesget_states_matrestate
Dependencies:clicpp11dplyrfansiforcatsgenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6Rcpprlangstringistringrtibbletidyrtidyselectutf8vctrswithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
markovmix package | markovmix-package |
Extract or replace components of MarkovMix object | Extract.MarkovMix [.MarkovMix [<-.MarkovMix `[.MarkovMix` `[<-.MarkovMix` |
Fit mixture of Markov chains | fit_markov_mix |
Get transition pattern counts from MarkovFit object | get_counts |
Get the order of Markov chains | get_order |
Get component priors from MarkovFit object | get_prior |
Get probability matrix from MarkovFit object | get_prob |
Get the states of Markov chains | get_states |
Get state transition patterns from MarkovFit object | get_states_mat |
Mixture of Markov chain example | markov_mix_ex |
MarkovMix class | MarkovMix MarkovMix-class |
Predict probabilities with MarkovMix object and new sequence list | predict.MarkovMix |
Print MarkovMix object | print.MarkovMix |
Reorganize states in MarkovMix object | restate |