{
  "_id": "6a2728ec24555f66ed52c2d7",
  "Package": "msmtools",
  "Type": "Package",
  "Title": "Building Augmented Data to Run Multi-State Models with 'msm'\nPackage",
  "Version": "2.2.1",
  "Date": "2026-06-01",
  "Authors@R": "person(\"Francesco\", \"Grossetti\",\nemail = \"francesco.grossetti@unibocconi.it\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-5130-7745\"))",
  "Description": "A fast and general method for restructuring classical\nlongitudinal observational data into augmented transition data\nsuitable for multi-state modeling with the 'msm' package. Works\nwith any longitudinal data where subjects accumulate repeated\nobservations with start and end times and an optional terminal\noutcome. Methods are described in Grossetti, Ieva and Paganoni\n(2018) <doi:10.1007/s10729-017-9400-z>.",
  "URL": "https://github.com/contefranz/msmtools",
  "BugReports": "https://github.com/contefranz/msmtools/issues",
  "License": "GPL-3",
  "LazyData": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 20:34:59 UTC",
    "User": "root"
  },
  "Author": "Francesco Grossetti [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5130-7745>)",
  "Maintainer": "Francesco Grossetti <francesco.grossetti@unibocconi.it>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-08 16:32:35 UTC",
  "RemoteUrl": "https://github.com/cran/msmtools",
  "RemoteRef": "HEAD",
  "RemoteSha": "00d08017b39fc3c8c0ec360eeeb5bca9f1934510",
  "MD5sum": "627053e6dd13fd2495433cadf03f0ac5",
  "_user": "cran",
  "_type": "src",
  "_file": "msmtools_2.2.1.tar.gz",
  "_fileid": "f77e7addb9582a526d4d4661602914ddaeaa9fc706ca38e8eb64412675887588",
  "_filesize": 508939,
  "_sha256": "f77e7addb9582a526d4d4661602914ddaeaa9fc706ca38e8eb64412675887588",
  "_created": "2026-06-08T20:34:59.000Z",
  "_published": "2026-06-08T20:41:16.566Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80190898231,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7491804769"
    },
    {
      "job": 80190898203,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7491802327"
    },
    {
      "job": 80190252504,
      "time": 205,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7491748769"
    },
    {
      "job": 80190898204,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7491795634"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27164620116",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/msmtools",
  "_commit": {
    "id": "00d08017b39fc3c8c0ec360eeeb5bca9f1934510",
    "author": "Francesco Grossetti <francesco.grossetti@unibocconi.it>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.2.1\n",
    "time": 1780936355
  },
  "_maintainer": {
    "name": "Francesco Grossetti",
    "email": "francesco.grossetti@unibocconi.it",
    "login": "contefranz",
    "orcid": "0000-0002-5130-7745",
    "description": "Assistant Professor of Accounting Analytics and Data Science @ Bocconi University | NLP | Statistics for Accounting and Finance",
    "uuid": 10447584
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "version": ">= 1.18.4",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "msm",
      "version": ">= 1.8.2",
      "role": "Imports"
    },
    {
      "package": "survival",
      "version": ">= 3.8-6",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 4.0.3",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.3.2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.51",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.31",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "version": ">= 8.0.0",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "version": ">= 1.3.2",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.2.1",
      "date": "2026-06-08"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "contefranz",
      "count": 4,
      "uuid": 10447584
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 196,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/msmtools"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/contefranz/msmtools",
  "_searchresults": 17,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/msmtools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2016-04-26"
    },
    {
      "version": "1.1",
      "date": "2016-05-03"
    },
    {
      "version": "1.2",
      "date": "2016-06-21"
    },
    {
      "version": "1.3",
      "date": "2017-06-08"
    },
    {
      "version": "2.0.0",
      "date": "2021-04-07"
    },
    {
      "version": "2.0.1",
      "date": "2021-04-13"
    },
    {
      "version": "2.2.1",
      "date": "2026-06-08"
    }
  ],
  "_exports": [
    "augment",
    "polish",
    "prevplot",
    "survplot"
  ],
  "_datasets": [
    {
      "name": "hosp",
      "title": "Synthetic Hospital Admissions",
      "object": "hosp",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "subj",
        "adm_number",
        "gender",
        "age",
        "rehab",
        "it",
        "rehab_it",
        "label_2",
        "label_3",
        "dateIN",
        "dateOUT",
        "dateCENS"
      ],
      "rows": 53,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "augment",
      "title": "Build augmented transition data",
      "topics": [
        "augment"
      ]
    },
    {
      "page": "hosp",
      "title": "Synthetic Hospital Admissions",
      "topics": [
        "hosp"
      ]
    },
    {
      "page": "polish",
      "title": "Remove observations with different states occurring at the same time",
      "topics": [
        "polish"
      ]
    },
    {
      "page": "prevplot",
      "title": "Plot observed and expected prevalences for a multi-state model",
      "topics": [
        "prevplot"
      ]
    },
    {
      "page": "survplot",
      "title": "Plot fitted survival and Kaplan-Meier curves from a multi-state model",
      "topics": [
        "survplot"
      ]
    }
  ],
  "_readme": "https://github.com/cran/msmtools/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "data.table",
    "expm",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "msm",
    "mvtnorm",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "survival",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "msmtools.Rmd",
      "filename": "msmtools.html",
      "title": "Building augmented data for multi-state models",
      "author": "| Francesco Grossetti | francesco.grossetti@unibocconi.it",
      "engine": "knitr::rmarkdown_notangle",
      "headings": [
        "Overview",
        "Data Augmentation",
        "Outcome Schema And Generated States",
        "Duplicate Transition Cleanup",
        "Survival Plot",
        "Prevalence Plot",
        "Notes"
      ],
      "created": "2016-04-26 11:20:20",
      "modified": "2026-06-08 16:32:35",
      "commits": 7
    }
  ],
  "_score": 2.929418925714293,
  "_indexed": false,
  "_nocasepkg": "msmtools",
  "_universes": [
    "cran",
    "contefranz"
  ],
  "_indexurl": "https://contefranz.r-universe.dev/msmtools",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2.1",
      "date": "2026-06-08T20:37:13.000Z",
      "distro": "noble",
      "commit": "00d08017b39fc3c8c0ec360eeeb5bca9f1934510",
      "fileid": "5ddb37f3048777b1ce088ac47da4212540f45c352aa0ab7f3b220936987e5fe0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27164620116"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.2.1",
      "date": "2026-06-08T20:37:09.000Z",
      "distro": "noble",
      "commit": "00d08017b39fc3c8c0ec360eeeb5bca9f1934510",
      "fileid": "d981ee187d3c10a9e7b1a10149f134cad17e3f4cf448914364969e202633e2b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27164620116"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.2.1",
      "date": "2026-06-08T20:37:22.000Z",
      "commit": "00d08017b39fc3c8c0ec360eeeb5bca9f1934510",
      "fileid": "f2e9902a1a63bc2a8bd6c34c138a008fdedb4804c694f1a07b603b065490cf62",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27164620116"
    }
  ]
}