{
  "_id": "6a27b6f824555f66ed53928f",
  "Package": "dtms",
  "Type": "Package",
  "Title": "Discrete-Time Multistate Models",
  "Version": "0.4.4",
  "Authors@R": "person(given = \"Christian\",\nfamily = \"Dudel\",\nrole = c(\"aut\", \"cre\"),\nemail = \"dudel@demogr.mpg.de\")",
  "Description": "Discrete-time multistate models with a user-friendly\nworkflow. The package provides tools for processing data,\nseveral ways of estimating parametric and nonparametric\nmultistate models, and an extensive set of Markov chain methods\nwhich use transition probabilities derived from the multistate\nmodel. Some of the implemented methods are described in\nSchneider et al. (2024) <doi:10.1080/00324728.2023.2176535>,\nDudel (2021) <doi:10.1177/0049124118782541>, Dudel & Myrskylä\n(2020) <doi:10.1186/s12963-020-00217-0>, van den Hout (2017)\n<doi:10.1201/9781315374321>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/christiandudel/dtms",
  "BugReports": "https://github.com/christiandudel/dtms/issues",
  "Config/pak/sysreqs": "libglpk-dev make libxml2-dev",
  "Repository": "https://christiandudel.r-universe.dev",
  "Date/Publication": "2026-04-23 14:04:17 UTC",
  "RemoteUrl": "https://github.com/christiandudel/dtms",
  "RemoteRef": "HEAD",
  "RemoteSha": "1bd062fa72fe7ffe32970b0eb2f301713353e488",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 06:25:05 UTC",
    "User": "root"
  },
  "Author": "Christian Dudel [aut, cre]",
  "Maintainer": "Christian Dudel <dudel@demogr.mpg.de>",
  "MD5sum": "afaf8547b2b145bb27413429f4c7a6b1",
  "_user": "christiandudel",
  "_type": "src",
  "_file": "dtms_0.4.4.tar.gz",
  "_fileid": "2a5913fe019f7eba785eacda88df4f017a8dbce79ca59d7028bc7f1df5d46481",
  "_filesize": 422410,
  "_sha256": "2a5913fe019f7eba785eacda88df4f017a8dbce79ca59d7028bc7f1df5d46481",
  "_created": "2026-06-09T06:25:05.000Z",
  "_published": "2026-06-09T06:47:20.113Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80261364145,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7500069965"
    },
    {
      "job": 80261364154,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500080158"
    },
    {
      "job": 80261364164,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7500386407"
    },
    {
      "job": 80261364172,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500357945"
    },
    {
      "job": 80260970054,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500037010"
    },
    {
      "job": 80261364142,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500066066"
    },
    {
      "job": 80261364166,
      "time": 88,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7500061047"
    },
    {
      "job": 80261364141,
      "time": 150,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7500077408"
    },
    {
      "job": 80261364171,
      "time": 84,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500064233"
    }
  ],
  "_buildurl": "https://github.com/r-universe/christiandudel/actions/runs/27187903724",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/christiandudel/dtms",
  "_commit": {
    "id": "1bd062fa72fe7ffe32970b0eb2f301713353e488",
    "author": "Dudel <dudel@demogr.mpg.de>",
    "committer": "Dudel <dudel@demogr.mpg.de>",
    "message": "Fix dtms_censoring\n",
    "time": 1776953057
  },
  "_maintainer": {
    "name": "Christian Dudel",
    "email": "dudel@demogr.mpg.de",
    "login": "christiandudel",
    "description": "Quantitative social scientist",
    "uuid": 61310247
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "mclogit",
      "role": "Imports"
    },
    {
      "package": "nnet",
      "role": "Imports"
    },
    {
      "package": "VGAM",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "markovchain",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    }
  ],
  "_owner": "christiandudel",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2025-26",
      "n": 2
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 6
    },
    {
      "week": "2025-45",
      "n": 5
    },
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 4
    },
    {
      "week": "2025-51",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 3
    },
    {
      "week": "2026-07",
      "n": 7
    },
    {
      "week": "2026-08",
      "n": 4
    },
    {
      "week": "2026-09",
      "n": 2
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 14,
  "_contributors": [
    {
      "user": "christiandudel",
      "count": 213,
      "uuid": 61310247
    }
  ],
  "_userbio": {
    "uuid": 61310247,
    "type": "user",
    "name": "Christian Dudel",
    "description": "Quantitative social scientist"
  },
  "_downloads": {
    "count": 150,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dtms"
  },
  "_devurl": "https://github.com/christiandudel/dtms",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dtms.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/christiandudel/dtms",
  "_realowner": "christiandudel",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.2",
      "date": "2026-02-25"
    }
  ],
  "_exports": [
    "dtms",
    "dtms_absorbed",
    "dtms_aggregate",
    "dtms_backward",
    "dtms_boot",
    "dtms_boot_summary",
    "dtms_censoring",
    "dtms_clean",
    "dtms_data_summary",
    "dtms_delta",
    "dtms_distr_summary",
    "dtms_duration",
    "dtms_expectancy",
    "dtms_first",
    "dtms_fit",
    "dtms_format",
    "dtms_forward",
    "dtms_fullfit",
    "dtms_last",
    "dtms_matrix",
    "dtms_nonparametric",
    "dtms_occurrence",
    "dtms_plot",
    "dtms_probs_summary",
    "dtms_reward",
    "dtms_rewardmatrix",
    "dtms_risk",
    "dtms_simplify",
    "dtms_simulate",
    "dtms_source",
    "dtms_start",
    "dtms_survivor",
    "dtms_transitions",
    "dtms_visits"
  ],
  "_datasets": [
    {
      "name": "simpledata",
      "title": "simpledata: an artificial data set with abstract trajectories",
      "object": "simpledata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "time",
        "state"
      ],
      "rows": 12179,
      "table": true,
      "tojson": true
    },
    {
      "name": "workdata",
      "title": "workdata: simulated working trajectories",
      "object": "workdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "Gender",
        "Age",
        "State"
      ],
      "rows": 250000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "dtms",
      "title": "Create dtms object",
      "topics": [
        "dtms"
      ]
    },
    {
      "page": "dtms_absorbed",
      "title": "Calculate the distribution of the time until entering an absorbing state",
      "topics": [
        "dtms_absorbed"
      ]
    },
    {
      "page": "dtms_aggregate",
      "title": "Aggregate data",
      "topics": [
        "dtms_aggregate"
      ]
    },
    {
      "page": "dtms_backward",
      "title": "Carry states backward",
      "topics": [
        "dtms_backward"
      ]
    },
    {
      "page": "dtms_boot",
      "title": "Bootstrap and block bootstrap",
      "topics": [
        "dtms_boot"
      ]
    },
    {
      "page": "dtms_boot_summary",
      "title": "Summary function for bootstrap results",
      "topics": [
        "dtms_boot_summary"
      ]
    },
    {
      "page": "dtms_censoring",
      "title": "Left censoring, right censoring, and gaps in data",
      "topics": [
        "dtms_censoring"
      ]
    },
    {
      "page": "dtms_clean",
      "title": "Cleans data in transition format",
      "topics": [
        "dtms_clean"
      ]
    },
    {
      "page": "dtms_data_summary",
      "title": "Summarize data in transition format",
      "topics": [
        "dtms_data_summary"
      ]
    },
    {
      "page": "dtms_delta",
      "title": "Calculate delta",
      "topics": [
        "dtms_delta"
      ]
    },
    {
      "page": "dtms_distr_summary",
      "title": "Summary for distributional results",
      "topics": [
        "dtms_distr_summary"
      ]
    },
    {
      "page": "dtms_duration",
      "title": "Generate variable with duration",
      "topics": [
        "dtms_duration"
      ]
    },
    {
      "page": "dtms_expectancy",
      "title": "Calculate state expectancy",
      "topics": [
        "dtms_expectancy"
      ]
    },
    {
      "page": "dtms_first",
      "title": "Time needed to reach a subset of states for the first time",
      "topics": [
        "dtms_first"
      ]
    },
    {
      "page": "dtms_fit",
      "title": "Estimate (un)constrained discrete-time multistate model",
      "topics": [
        "dtms_fit"
      ]
    },
    {
      "page": "dtms_format",
      "title": "Reshape data to transition format",
      "topics": [
        "dtms_format"
      ]
    },
    {
      "page": "dtms_forward",
      "title": "Carry states forward",
      "topics": [
        "dtms_forward"
      ]
    },
    {
      "page": "dtms_fullfit",
      "title": "Estimate unconstrained discrete-time multistate model",
      "topics": [
        "dtms_fullfit"
      ]
    },
    {
      "page": "dtms_last",
      "title": "Calculate the distribution of the time until a subset of states is left for the last time.",
      "topics": [
        "dtms_last"
      ]
    },
    {
      "page": "dtms_matrix",
      "title": "Creates a transition matrix from transition probabilities",
      "topics": [
        "dtms_matrix"
      ]
    },
    {
      "page": "dtms_nonparametric",
      "title": "Nonparametric estimates of transition probabilities",
      "topics": [
        "dtms_nonparametric"
      ]
    },
    {
      "page": "dtms_occurrence",
      "title": "Generate variable with number of occurrence of state",
      "topics": [
        "dtms_occurrence"
      ]
    },
    {
      "page": "dtms_plot",
      "title": "Plotting transition probabilities",
      "topics": [
        "dtms_plot"
      ]
    },
    {
      "page": "dtms_probs_summary",
      "title": "Summarize transition probabilities",
      "topics": [
        "dtms_probs_summary"
      ]
    },
    {
      "page": "dtms_reward",
      "title": "Markov chain with rewards",
      "topics": [
        "dtms_reward"
      ]
    },
    {
      "page": "dtms_rewardmatrix",
      "title": "Generate the reward matrix for a Markov chain with rewards",
      "topics": [
        "dtms_rewardmatrix"
      ]
    },
    {
      "page": "dtms_risk",
      "title": "Calculate the lifetime risk of ever reaching a state",
      "topics": [
        "dtms_risk"
      ]
    },
    {
      "page": "dtms_simplify",
      "title": "Simplify state names",
      "topics": [
        "dtms_simplify"
      ]
    },
    {
      "page": "dtms_simulate",
      "title": "Simulation of Markov chains",
      "topics": [
        "dtms_simulate"
      ]
    },
    {
      "page": "dtms_source",
      "title": "Source code only from specific lines",
      "topics": [
        "dtms_source"
      ]
    },
    {
      "page": "dtms_start",
      "title": "Tabulate starting distribution",
      "topics": [
        "dtms_start"
      ]
    },
    {
      "page": "dtms_survivor",
      "title": "Calculate the survivorship function",
      "topics": [
        "dtms_survivor"
      ]
    },
    {
      "page": "dtms_transitions",
      "title": "Predict transition probabilities",
      "topics": [
        "dtms_transitions"
      ]
    },
    {
      "page": "dtms_visits",
      "title": "Calculate the distribution of the time spent in a subset of states",
      "topics": [
        "dtms_visits"
      ]
    },
    {
      "page": "simpledata",
      "title": "simpledata: an artificial data set with abstract trajectories",
      "topics": [
        "simpledata"
      ]
    },
    {
      "page": "workdata",
      "title": "workdata: simulated working trajectories",
      "topics": [
        "workdata"
      ]
    }
  ],
  "_readme": "https://github.com/christiandudel/dtms/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "data.table",
    "doParallel",
    "expm",
    "foreach",
    "glue",
    "igraph",
    "iterators",
    "jsonlite",
    "lattice",
    "lifecycle",
    "magrittr",
    "markovchain",
    "MASS",
    "Matrix",
    "mclogit",
    "memisc",
    "nlme",
    "nnet",
    "pkgconfig",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "rlang",
    "vctrs",
    "VGAM",
    "yaml"
  ],
  "_score": 5.123851640967086,
  "_indexed": true,
  "_nocasepkg": "dtms",
  "_universes": [
    "christiandudel"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.4",
      "date": "2026-06-09T06:27:00.000Z",
      "distro": "noble",
      "commit": "1bd062fa72fe7ffe32970b0eb2f301713353e488",
      "fileid": "3cf39ffc893efb9d3942a3fecba0117f3ed098c27a94d3657226ca3f02564de7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christiandudel/actions/runs/27187903724"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.4",
      "date": "2026-06-09T06:27:36.000Z",
      "distro": "noble",
      "commit": "1bd062fa72fe7ffe32970b0eb2f301713353e488",
      "fileid": "52baa7ff8c24f332e7e2b3104bca03afc910a4c8f26301a21a4f01dec8fd52f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christiandudel/actions/runs/27187903724"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.4",
      "date": "2026-06-09T06:46:19.000Z",
      "commit": "1bd062fa72fe7ffe32970b0eb2f301713353e488",
      "fileid": "3bcbc4e51f6f38d49cb51a79f887eff95db4c104440199b2af2df8cd87385384",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christiandudel/actions/runs/27187903724"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.4",
      "date": "2026-06-09T06:44:39.000Z",
      "commit": "1bd062fa72fe7ffe32970b0eb2f301713353e488",
      "fileid": "d40812faa6835ff195bc853d1c2e165e3c66a175634c49252e67f020e2854b0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christiandudel/actions/runs/27187903724"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.4",
      "date": "2026-06-09T06:27:13.000Z",
      "commit": "1bd062fa72fe7ffe32970b0eb2f301713353e488",
      "fileid": "b33189532c204e835d3c37a1e077fae93b5060747b88cff82094bac0b250ee47",
      "status": "success",
      "buildurl": "https://github.com/r-universe/christiandudel/actions/runs/27187903724"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.4",
      "date": "2026-06-09T06:26:19.000Z",
      "commit": "1bd062fa72fe7ffe32970b0eb2f301713353e488",
      "fileid": "8dd1cde1275309e76af6e4653269a4e99e2a4a3cfb1b549b4c158e01973e5bd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christiandudel/actions/runs/27187903724"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.4",
      "date": "2026-06-09T06:26:39.000Z",
      "commit": "1bd062fa72fe7ffe32970b0eb2f301713353e488",
      "fileid": "e9b8930bdf3d65a0b47821de808bec1dd922db36f7d7c61447ee1a2428aab638",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christiandudel/actions/runs/27187903724"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.4",
      "date": "2026-06-09T06:26:31.000Z",
      "commit": "1bd062fa72fe7ffe32970b0eb2f301713353e488",
      "fileid": "9c8cd077f7df8b5bff11414e009db057f7e5c0ea6e8f7f90c529c84417ec0096",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christiandudel/actions/runs/27187903724"
    }
  ]
}