{
  "_id": "6a49666b3c3572b93bf7f0f4",
  "Package": "hhsmm",
  "Date": "2022-2-7",
  "Title": "Hidden Hybrid Markov/Semi-Markov Model Fitting",
  "Version": "0.2.5",
  "Authors@R": "c(person(\"Morteza\", \"Amini\", role = c(\"aut\", \"cre\",\"cph\"),\nemail = \"morteza.amini@ut.ac.ir\"),\nperson(\"Afarin\", \"Bayat\", role = \"aut\"),\nperson(\"Reza\", \"Salehian\", role = \"aut\"))",
  "Description": "Develops algorithms for fitting, prediction, simulation\nand initialization of the hidden hybrid Markov/semi-Markov\nmodel, introduced by Guedon (2005)\n<doi:10.1016/j.csda.2004.05.033>, which also includes several\ntools for handling missing data, nonparametric mixture of\nB-splines emissions (Langrock et al., 2015\n<doi:10.1111/biom.12282>), fitting regime switching regression\n(Kim et al., 2008 <doi:10.1016/j.jeconom.2007.10.002>) and\nauto-regressive hidden hybrid Markov/semi-Markov model, and\nmany other useful tools (read for more description:\n<arXiv:2109.12489>).",
  "License": "GPL-3",
  "RdMacros": "Rdpack",
  "Encoding": "UTF-8",
  "BugReports": "https://github.com/mortamini/hhsmm/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.1",
  "Config/pak/sysreqs": "cmake libfreetype6-dev libglu1-mesa-dev make\ntexlive libicu-dev libpng-dev libuv1-dev libgl1-mesa-dev\nlibx11-dev zlib1g-dev",
  "Repository": "https://mortamini.r-universe.dev",
  "Date/Publication": "2022-08-27 03:41:29 UTC",
  "RemoteUrl": "https://github.com/mortamini/hhsmm",
  "RemoteRef": "HEAD",
  "RemoteSha": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-04 19:55:34 UTC",
    "User": "root"
  },
  "Author": "Morteza Amini [aut, cre, cph],\nAfarin Bayat [aut],\nReza Salehian [aut]",
  "Maintainer": "Morteza Amini <morteza.amini@ut.ac.ir>",
  "_user": "mortamini",
  "_type": "src",
  "_file": "hhsmm_0.2.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/3f6355470657c6fdef5199113463d85f497fc647385b2517b2402eb1384614f1",
  "_filesize": 258246,
  "_sha256": "3f6355470657c6fdef5199113463d85f497fc647385b2517b2402eb1384614f1",
  "_expires": "2026-10-12T20:00:41.000Z",
  "_created": "2026-07-04T19:55:34.000Z",
  "_published": "2026-07-04T20:00:43.351Z",
  "_jobs": [
    {
      "job": 85162335609,
      "time": 217,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8084957296"
    },
    {
      "job": 85162335569,
      "time": 219,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8084957129"
    },
    {
      "job": 85162335601,
      "time": 225,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8084957993"
    },
    {
      "job": 85162335577,
      "time": 202,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8084955297"
    },
    {
      "job": 85162335564,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8084942632"
    },
    {
      "job": 85162335588,
      "time": 263,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8084961932"
    },
    {
      "job": 85162335540,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8084944396"
    },
    {
      "job": 85162335555,
      "time": 207,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8084955859"
    },
    {
      "job": 85162063301,
      "time": 256,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8084932690"
    },
    {
      "job": 85162335527,
      "time": 194,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8084954423"
    },
    {
      "job": 85162335542,
      "time": 126,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8084946823"
    },
    {
      "job": 85162335576,
      "time": 119,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8084946235"
    },
    {
      "job": 85162335558,
      "time": 124,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8084946681"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617",
  "_status": "success",
  "_upstream": "https://github.com/mortamini/hhsmm",
  "_commit": {
    "id": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
    "author": "Morteza Amini <49465740+mortamini@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add files via upload",
    "time": 1661571689
  },
  "_maintainer": {
    "name": "Morteza Amini",
    "email": "morteza.amini@ut.ac.ir",
    "login": "mortamini",
    "description": "I am Associate Professor of Statistics at University of Tehran",
    "uuid": 49465740
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "CMAPSS",
      "role": "Depends"
    },
    {
      "package": "mvtnorm",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "mice",
      "role": "Imports"
    },
    {
      "package": "cpr",
      "role": "Imports"
    },
    {
      "package": "psych",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "mortamini",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "mortamini",
      "count": 5,
      "uuid": 49465740
    }
  ],
  "_userbio": {
    "uuid": 49465740,
    "type": "user",
    "name": "Morteza Amini",
    "followers": 3,
    "description": "I am Associate Professor of Statistics at University of Tehran"
  },
  "_downloads": {
    "count": 435,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hhsmm"
  },
  "_devurl": "https://github.com/mortamini/hhsmm",
  "_searchresults": 1,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hhsmm.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mortamini/hhsmm",
  "_realowner": "mortamini",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2021-05-31"
    },
    {
      "version": "0.1.2",
      "date": "2021-06-16"
    },
    {
      "version": "0.1.3",
      "date": "2021-09-13"
    },
    {
      "version": "0.2.0",
      "date": "2021-10-13"
    },
    {
      "version": "0.2.1",
      "date": "2021-10-18"
    },
    {
      "version": "0.2.2",
      "date": "2021-11-23"
    },
    {
      "version": "0.2.3",
      "date": "2021-12-01"
    },
    {
      "version": "0.2.4",
      "date": "2022-01-10"
    },
    {
      "version": "0.2.5",
      "date": "2022-02-08"
    },
    {
      "version": "0.3.1",
      "date": "2022-02-28"
    },
    {
      "version": "0.3.2",
      "date": "2022-05-29"
    },
    {
      "version": "0.3.3",
      "date": "2022-08-05"
    },
    {
      "version": "0.3.4",
      "date": "2023-01-07"
    },
    {
      "version": "0.3.5",
      "date": "2023-03-06"
    },
    {
      "version": "0.3.6",
      "date": "2023-08-08"
    },
    {
      "version": "0.3.7",
      "date": "2024-05-01"
    },
    {
      "version": "0.4.0",
      "date": "2024-05-08"
    },
    {
      "version": "0.4.1",
      "date": "2024-09-03"
    },
    {
      "version": "0.4.2",
      "date": "2024-09-04"
    }
  ],
  "_exports": [
    "cov.miss.mix.wt",
    "cov.mix.wt",
    "dmixlm",
    "dmixmvnorm",
    "dnonpar",
    "hhsmmdata",
    "hhsmmfit",
    "hhsmmspec",
    "homogeneity",
    "initial_cluster",
    "initial_estimate",
    "initialize_model",
    "lagdata",
    "ltr_clus",
    "ltr_reg_clus",
    "make_model",
    "miss_mixmvnorm_mstep",
    "mixdiagmvnorm_mstep",
    "mixlm_mstep",
    "mixmvnorm_mstep",
    "nonpar_mstep",
    "rmixar",
    "rmixlm",
    "rmixmvnorm",
    "score",
    "train_test_split"
  ],
  "_help": [
    {
      "page": "additive_reg_mstep",
      "title": "the M step function of the EM algorithm",
      "topics": [
        "additive_reg_mstep"
      ]
    },
    {
      "page": "addreg_hhsmm_predict",
      "title": "predicting the response values for the regime switching model",
      "topics": [
        "addreg_hhsmm_predict"
      ]
    },
    {
      "page": "cov.miss.mix.wt",
      "title": "weighted covariance for data with missing values",
      "topics": [
        "cov.miss.mix.wt"
      ]
    },
    {
      "page": "cov.mix.wt",
      "title": "weighted covariance",
      "topics": [
        "cov.mix.wt"
      ]
    },
    {
      "page": "dmixlm",
      "title": "pdf of the mixture of Gaussian linear (Markov-switching) models for hhsmm",
      "topics": [
        "dmixlm"
      ]
    },
    {
      "page": "dmixmvnorm",
      "title": "pdf of the mixture of multivariate normals for hhsmm",
      "topics": [
        "dmixmvnorm"
      ]
    },
    {
      "page": "dnonpar",
      "title": "pdf of the mixture of B-splines for hhsmm",
      "topics": [
        "dnonpar"
      ]
    },
    {
      "page": "dnorm_additive_reg",
      "title": "pdf of the Gaussian additive (Markov-switching) model for hhsmm",
      "topics": [
        "dnorm_additive_reg"
      ]
    },
    {
      "page": "hhsmmdata",
      "title": "convert to hhsmm data",
      "topics": [
        "hhsmmdata"
      ]
    },
    {
      "page": "hhsmmfit",
      "title": "hhsmm model fit",
      "topics": [
        "hhsmmfit"
      ]
    },
    {
      "page": "hhsmmspec",
      "title": "hhsmm specification",
      "topics": [
        "hhsmmspec"
      ]
    },
    {
      "page": "homogeneity",
      "title": "Computing maximum homogeneity of two state sequences",
      "topics": [
        "homogeneity"
      ]
    },
    {
      "page": "initial_cluster",
      "title": "initial clustering of the data set",
      "topics": [
        "initial_cluster"
      ]
    },
    {
      "page": "initial_estimate",
      "title": "initial estimation of the model parameters for a specified emission distribution",
      "topics": [
        "initial_estimate"
      ]
    },
    {
      "page": "initialize_model",
      "title": "initialize the hhsmmspec model for a specified emission distribution",
      "topics": [
        "initialize_model"
      ]
    },
    {
      "page": "lagdata",
      "title": "Create hhsmm data of lagged time series",
      "topics": [
        "lagdata"
      ]
    },
    {
      "page": "ltr_clus",
      "title": "left to right clustering",
      "topics": [
        "ltr_clus"
      ]
    },
    {
      "page": "ltr_reg_clus",
      "title": "left to right linear regression clustering",
      "topics": [
        "ltr_reg_clus"
      ]
    },
    {
      "page": "make_model",
      "title": "make a hhsmmspec model for a specified emission distribution",
      "topics": [
        "make_model"
      ]
    },
    {
      "page": "miss_mixmvnorm_mstep",
      "title": "the M step function of the EM algorithm",
      "topics": [
        "miss_mixmvnorm_mstep"
      ]
    },
    {
      "page": "mixdiagmvnorm_mstep",
      "title": "the M step function of the EM algorithm",
      "topics": [
        "mixdiagmvnorm_mstep"
      ]
    },
    {
      "page": "mixlm_mstep",
      "title": "the M step function of the EM algorithm",
      "topics": [
        "mixlm_mstep"
      ]
    },
    {
      "page": "mixmvnorm_mstep",
      "title": "the M step function of the EM algorithm",
      "topics": [
        "mixmvnorm_mstep"
      ]
    },
    {
      "page": "nonpar_mstep",
      "title": "the M step function of the EM algorithm",
      "topics": [
        "nonpar_mstep"
      ]
    },
    {
      "page": "predict.hhsmm",
      "title": "prediction of state sequence for hhsmm",
      "topics": [
        "predict.hhsmm"
      ]
    },
    {
      "page": "predict.hhsmmspec",
      "title": "prediction of state sequence for hhsmm",
      "topics": [
        "predict.hhsmmspec"
      ]
    },
    {
      "page": "raddreg",
      "title": "Random data generation from the Gaussian additive (Markov-switching) model for hhsmm model",
      "topics": [
        "raddreg"
      ]
    },
    {
      "page": "rmixar",
      "title": "Random data generation from the mixture of Gaussian linear (Markov-switching) autoregressive models for hhsmm model",
      "topics": [
        "rmixar"
      ]
    },
    {
      "page": "rmixlm",
      "title": "Random data generation from the mixture of Gaussian linear (Markov-switching) models for hhsmm model",
      "topics": [
        "rmixlm"
      ]
    },
    {
      "page": "rmixmvnorm",
      "title": "Random data generation from the mixture of multivariate normals for hhsmm model",
      "topics": [
        "rmixmvnorm"
      ]
    },
    {
      "page": "score",
      "title": "the score of new observations",
      "topics": [
        "score"
      ]
    },
    {
      "page": "simulate.hhsmmspec",
      "title": "Simulation of data from hhsmm model",
      "topics": [
        "simulate.hhsmmspec"
      ]
    },
    {
      "page": "train_test_split",
      "title": "Splitting the data sets to train and test",
      "topics": [
        "train_test_split"
      ]
    }
  ],
  "_rundeps": [
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "cli",
    "clipr",
    "CMAPSS",
    "codetools",
    "cpp11",
    "cpr",
    "crayon",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forcats",
    "foreach",
    "fs",
    "generics",
    "ggplot2",
    "glmnet",
    "glue",
    "GPArotation",
    "gtable",
    "haven",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "iterators",
    "jomo",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mice",
    "mime",
    "minqa",
    "misc3d",
    "mitml",
    "mnormt",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "ordinal",
    "pan",
    "pillar",
    "pkgconfig",
    "plot3D",
    "prettyunits",
    "progress",
    "psych",
    "purrr",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "readr",
    "reformulas",
    "rgl",
    "rlang",
    "rmarkdown",
    "rpart",
    "S7",
    "sass",
    "scales",
    "shape",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "tzdb",
    "ucminf",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 2.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "hhsmm",
  "_universes": [
    "mortamini"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.5",
      "date": "2026-07-04T19:59:07.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
      "fileid": "https://r2.ropensci.org/f6a0360b6b0f066265d733c8edb8326bc66772c731c695c3bec8e47c08745452",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.5",
      "date": "2026-07-04T19:58:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
      "fileid": "https://r2.ropensci.org/c2f54f992061fbae1d6a0becc2f1487a422195eb671e0c18331623b59f3b3e18",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.5",
      "date": "2026-07-04T19:59:11.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
      "fileid": "https://r2.ropensci.org/ebf6eee2d90abeb3aab2ed9f82adc279acdcc6da0e3232a9e68a9df07364cc57",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.5",
      "date": "2026-07-04T19:58:43.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
      "fileid": "https://r2.ropensci.org/e7fa50dc932015902fbe2683593d351b4894194467db8b9236d651e7c461c77c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.5",
      "date": "2026-07-04T19:57:03.000Z",
      "arch": "aarch64",
      "commit": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
      "fileid": "https://r2.ropensci.org/3f43e3eb2862c71a7d3c467ff30b02b7e908bcc60e482095827e32c2e300d1c9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.5",
      "date": "2026-07-04T19:58:59.000Z",
      "arch": "x86_64",
      "commit": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
      "fileid": "https://r2.ropensci.org/c22cea1703300b8ce1485287cd0467583c8c0d53809cd7d82a41dd1800cddd32",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.5",
      "date": "2026-07-04T19:57:09.000Z",
      "arch": "aarch64",
      "commit": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
      "fileid": "https://r2.ropensci.org/8599325f31b9b1894c8cb26ef1a81062ef6b7736a37f9ed600dd68187431e9b3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.5",
      "date": "2026-07-04T19:58:19.000Z",
      "arch": "x86_64",
      "commit": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
      "fileid": "https://r2.ropensci.org/c006f794ab0a1d158e2a9d818ab1aa925c011fb929a79ab8d23baa932206de6d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.5",
      "date": "2026-07-04T19:59:12.000Z",
      "arch": "emscripten",
      "commit": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
      "fileid": "https://r2.ropensci.org/1e942c06fd4446d535ca47499aad9bd56580143eaba1778b16965d4a76ae5fc7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.5",
      "date": "2026-07-04T19:57:01.000Z",
      "arch": "x86_64",
      "commit": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
      "fileid": "https://r2.ropensci.org/6665862f24161dd561ae0fbae297c940fba7195ce760ae05efd6b9a625082c30",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.5",
      "date": "2026-07-04T19:56:58.000Z",
      "arch": "x86_64",
      "commit": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
      "fileid": "https://r2.ropensci.org/f2f46237cf72e56c1e2d719f5f82f87d7cccdd6096c18bfe1f0e872a0dd35b46",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.5",
      "date": "2026-07-04T19:56:59.000Z",
      "arch": "x86_64",
      "commit": "9b1989404ca8b1d7f60fc01f0e6e2145c61685b5",
      "fileid": "https://r2.ropensci.org/9589edb2f08bc393b5200f9a42879a203082b1de2487ededeee594b36aea1400",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mortamini/actions/runs/28717759617"
    }
  ]
}