R Observatory
Search
install.packages("HMMextra0s")
CRAN checks, method
OKnotes on 2 of 13
CRAN 30-day downloads, method
217−26.9% down on the 30 days before, the worse direction

Contains functions for hidden Markov models with observations having extra zeros as defined in the following two publications, Wang, T., Zhuang, J., Obara, K. and Tsuruoka, H. (2016) <doi:10.1111/rssc.12194>; Wang, T., Zhuang, J., Buckby, J., Obara, K. and Tsuruoka, H.

Full description

Contains functions for hidden Markov models with observations having extra zeros as defined in the following two publications, Wang, T., Zhuang, J., Obara, K. and Tsuruoka, H. (2016) <doi:10.1111/rssc.12194>; Wang, T., Zhuang, J., Buckby, J., Obara, K. and Tsuruoka, H. (2018) <doi:10.1029/2017JB015360>. The observed response variable is either univariate or bivariate Gaussian conditioning on presence of events, and extra zeros mean that the response variable takes on the value zero if nothing is happening. Hence the response is modelled as a mixture distribution of a Bernoulli variable and a continuous variable. That is, if the Bernoulli variable takes on the value 1, then the response variable is Gaussian, and if the Bernoulli variable takes on the value 0, then the response is zero too. This package includes functions for simulation, parameter estimation, goodness-of-fit, the Viterbi algorithm, and plotting the classified 2-D data. Some of the functions in the package are based on those of the R package 'HiddenMarkov' by David Harte. This updated version has included an example dataset and R code examples to show how to transform the data into the objects needed in the main functions. We have also made changes to increase the speed of some of the functions.

Maintainer
Ting Wang
Licence
GPL (>= 2)
Latest release
3 Aug 2021
First release
17 Sep 2018

Compare with another package

More details
Releases
2
Needs compilation
Yes
Date
2021-08-02
LazyData
no
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("HMMextra0s")

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for HMMextra0s version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

No warnings or errors. 2 of 13 check platforms have notes.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    Note

    Version checked
    1.1.0
    Time taken
    44 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Ting Wang <ting.wang@otago.ac.nz>’

    Full output

  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    1.1.0
    Time taken
    34 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Ting Wang <ting.wang@otago.ac.nz>’

    Full output

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.1.0
    Time taken
    30 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.1.0
    Time taken
    28 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    132 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.1.0
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    34 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    75 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    36 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    37 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.1.0
    Time taken
    14 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    42 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    81 s
  • 2 Note
  • 11 OK
Check output (1)

CRAN incoming feasibility, Note on 2 platforms

Maintainer: ‘Ting Wang <ting.wang@otago.ac.nz>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Ting",
                      family = "Wang",
                      role = c("aut", "cre"),
                      email = "ting.wang@otago.ac.nz"),
               person(given = "Wolfgang",
                      family = "Hayek",
                      role = "aut"),
               person(given = "Alexander",
                      family = "Pletzer",
                      role = "aut"))
as necessary.

Check results on CRAN

Total downloads in the last 30 days
222−31.7% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

21,101 of 26,530

CRAN

217 downloads in the last 30 days

Rank
21,101 of 26,530
Change
−26.9% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

2 downloads in the last 30 days

Rank
14,902 of 30,526
Change
−88.2% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

3 downloads in the last 30 days

Rank
17,776 of 29,212
Change
−72.7% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
3
Dependent packages
0
Suggested by
0
Needs (3)
Installing it adds
2 packages, 1.2 MB of source
Of those, need compilation
1
Optional extras (1)
Functions
18
Public exports
9
Lines of R code
685
Median complexity
8
Functions (18)
Size and composition

Lines by kind (1,871)

KindLinesShare
R code68537%
Documentation91449%
Compiled code27215%

Lines by language

LanguageLinesShare
Rd91449%
R68537%
Fortran23613%
C362%

Languages are counted from file extensions.

Files
31
R functions
9
Compiled functions
9
Complexity
Median
8
Mean
10.33
Highest
22
Median lines per function
60
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
9
Calls
0
Unconnected
9
Groups
0
Growth (2 releases)
Total lines by release
1,484 on 17 Sep 20181,871 on 3 Aug 2021
Release changes

The package was built and has no tests to run.

Lines of tests
0
Exports named in tests
0%
Test suite
Has tests
No
Test frameworks
No tests in this release
Test lines per line of code
0
Exports documented
100%
Arguments documented
100%
Return value documented
77.8%
Help pages with examples
90.9%
Examples run in checks
100%
Other documentation
README
No
Release notes file
No
Help pages
11
Lines of documentation
914
DatasetSizeColumns
KiiTremor data in the Kii region in 2002 and 2003 for use in function hmm0norm2d1,112 × 6year, month, day, hour, lat, lon
Earlier names (2)
  • contributions
  • Ting Wang - I am grateful to Jiancang Zhuang for some helpful suggestions

No repository on record

R releases
  • On CRAN
  • Release
VersionReleasedR
1.1.0 current3 Aug 20214.1.0
1.0.017 Sep 20183.5.0