{
  "_id": "6a1973daacfb0bcc41defc09",
  "Package": "etm",
  "Type": "Package",
  "Title": "Empirical Transition Matrix",
  "Version": "1.1.2",
  "Authors@R": "c(person(\"Arthur\", \"Allignol\", role = \"aut\",\nemail = \"arthur.allignol@gmail.com\"),\nperson(\"Mark\", \"Clements\", role = c(\"cre\",\"aut\"),\nemail = \"mark.clements@ki.se\"))",
  "Description": "The etm (empirical transition matrix) package permits to\nestimate the matrix of transition probabilities for any\ntime-inhomogeneous multi-state model with finite state space\nusing the Aalen-Johansen estimator. Functions for data\npreparation and for displaying are also included (Allignol et\nal., 2011 <doi:10.18637/jss.v038.i04>). Functionals of the\nAalen-Johansen estimator, e.g., excess length-of-stay in an\nintermediate state, can also be computed (Allignol et al. 2011\n<doi:10.1007/s00180-010-0200-x>).",
  "License": "MIT + file LICENSE",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-29 11:05:13 UTC",
    "User": "root"
  },
  "Author": "Arthur Allignol [aut], Mark Clements [cre, aut]",
  "Maintainer": "Mark Clements <mark.clements@ki.se>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-04-12 08:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/etm",
  "RemoteRef": "HEAD",
  "RemoteSha": "db40647f7f522b67434a3eb635e89c0dee1ecc23",
  "MD5sum": "7caa4df7b36e717b7f24342777bbbed0",
  "_user": "cran",
  "_type": "src",
  "_file": "etm_1.1.2.tar.gz",
  "_fileid": "789de43b5fdb716f5ac6b864f9906466a318c67df13366aaa65de97c8e6112d7",
  "_filesize": 390610,
  "_sha256": "789de43b5fdb716f5ac6b864f9906466a318c67df13366aaa65de97c8e6112d7",
  "_created": "2026-05-29T11:05:13.000Z",
  "_published": "2026-05-29T11:09:14.440Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78488624929,
      "time": 169,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7289251081"
    },
    {
      "job": 78488625082,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7289250292"
    },
    {
      "job": 78488624976,
      "time": 177,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289253344"
    },
    {
      "job": 78488624944,
      "time": 176,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289252895"
    },
    {
      "job": 78488029116,
      "time": 251,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289202567"
    },
    {
      "job": 78488624975,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289234431"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26633489159",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/etm",
  "_commit": {
    "id": "db40647f7f522b67434a3eb635e89c0dee1ecc23",
    "author": "Mark Clements <mark.clements@ki.se>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.2\n",
    "time": 1744447202
  },
  "_maintainer": {
    "name": "Mark Clements",
    "email": "mark.clements@ki.se",
    "login": "mclements",
    "description": "",
    "uuid": 557321
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.11.4",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "kmi",
      "role": "Suggests"
    },
    {
      "package": "geepack",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 16,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "aallignol",
      "count": 4,
      "uuid": 11571187
    },
    {
      "user": "mclements",
      "count": 2,
      "uuid": 557321
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 10792,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/etm"
  },
  "_mentions": 17,
  "_searchresults": 122,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/etm.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mclements/etm",
  "_realowner": "mclements",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3-2",
      "date": "2008-07-15"
    },
    {
      "version": "0.3-3",
      "date": "2008-10-30"
    },
    {
      "version": "0.3-5",
      "date": "2008-12-18"
    },
    {
      "version": "0.3-6",
      "date": "2009-02-01"
    },
    {
      "version": "0.3-7",
      "date": "2009-02-04"
    },
    {
      "version": "0.4-0",
      "date": "2009-04-14"
    },
    {
      "version": "0.4-3",
      "date": "2009-06-14"
    },
    {
      "version": "0.4-6",
      "date": "2009-09-03"
    },
    {
      "version": "0.4-7",
      "date": "2009-11-12"
    },
    {
      "version": "0.5",
      "date": "2010-11-04"
    },
    {
      "version": "0.5-1",
      "date": "2010-11-29"
    },
    {
      "version": "0.5-2",
      "date": "2011-01-03"
    },
    {
      "version": "0.5-4",
      "date": "2012-04-04"
    },
    {
      "version": "0.6",
      "date": "2013-12-18"
    },
    {
      "version": "0.6-1",
      "date": "2014-03-27"
    },
    {
      "version": "0.6-2",
      "date": "2014-12-09"
    },
    {
      "version": "0.6-2.1",
      "date": "2018-06-11"
    },
    {
      "version": "1.0.3",
      "date": "2018-07-04"
    },
    {
      "version": "1.0.4",
      "date": "2018-07-11"
    },
    {
      "version": "1.0.5",
      "date": "2019-05-28"
    },
    {
      "version": "1.0.5.1",
      "date": "2020-01-29"
    },
    {
      "version": "1.1",
      "date": "2020-04-20"
    },
    {
      "version": "1.1.1",
      "date": "2020-09-08"
    },
    {
      "version": "1.1.2",
      "date": "2025-04-12"
    }
  ],
  "_exports": [
    "clos",
    "closPseudo",
    "etm",
    "etmCIF",
    "etmprep",
    "prepare.los.data",
    "tra_comp",
    "tra_ill",
    "tra_ill_comp",
    "tra_surv",
    "trcov",
    "trprob"
  ],
  "_datasets": [
    {
      "name": "abortion",
      "title": "Pregnancies exposed to coumarin derivatives",
      "object": "abortion",
      "file": "abortion.txt.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "entry",
        "exit",
        "group",
        "cause"
      ],
      "rows": 1186,
      "table": true,
      "tojson": true
    },
    {
      "name": "fourD",
      "title": "Placebo data from the 4D study",
      "object": "fourD",
      "file": "fourD.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "sex",
        "age",
        "medication",
        "status",
        "time",
        "treated"
      ],
      "rows": 636,
      "table": true,
      "tojson": true
    },
    {
      "name": "los.data",
      "title": "Length of hospital stay",
      "object": "los.data",
      "file": "los.data.csv.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "adm.id",
        "j.01",
        "j.02",
        "j.03",
        "j.12",
        "j.13",
        "cens"
      ],
      "rows": 756,
      "table": true,
      "tojson": true
    },
    {
      "name": "sir.cont",
      "title": "Ventilation status in intensive care unit patients",
      "object": "sir.cont",
      "file": "sir.cont.txt.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "from",
        "to",
        "time",
        "age",
        "sex"
      ],
      "rows": 1141,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "abortion",
      "title": "Pregnancies exposed to coumarin derivatives",
      "topics": [
        "abortion"
      ]
    },
    {
      "page": "clos",
      "title": "Change in Length of Stay",
      "topics": [
        "clos",
        "clos.etm",
        "clos.msfit"
      ]
    },
    {
      "page": "closPseudo",
      "title": "Pseudo Value Regression for the Extra Length-of-Stay",
      "topics": [
        "closPseudo"
      ]
    },
    {
      "page": "etm",
      "title": "Computation of the empirical transition matrix",
      "topics": [
        "etm",
        "etm.data.frame"
      ]
    },
    {
      "page": "etmCIF",
      "title": "Cumulative incidence functions of competing risks",
      "topics": [
        "etmCIF"
      ]
    },
    {
      "page": "etmprep",
      "title": "Data transformation function for using etm",
      "topics": [
        "etmprep"
      ]
    },
    {
      "page": "fourD",
      "title": "Placebo data from the 4D study",
      "topics": [
        "fourD"
      ]
    },
    {
      "page": "lines.etm",
      "title": "Lines method for 'etm' objects",
      "topics": [
        "lines.etm"
      ]
    },
    {
      "page": "los.data",
      "title": "Length of hospital stay",
      "topics": [
        "los.data"
      ]
    },
    {
      "page": "plot.clos.etm",
      "title": "Plot method for 'clos.etm' objects",
      "topics": [
        "plot.clos.etm"
      ]
    },
    {
      "page": "plot.etm",
      "title": "Plot method for an etm object",
      "topics": [
        "plot.etm"
      ]
    },
    {
      "page": "plot.etmCIF",
      "title": "Plot cumulative incidence functions",
      "topics": [
        "plot.etmCIF"
      ]
    },
    {
      "page": "prepare.los.data",
      "title": "Prepare the data for clos",
      "topics": [
        "prepare.los.data"
      ]
    },
    {
      "page": "print.clos.etm",
      "title": "Print function for 'clos.etm' objects",
      "topics": [
        "print.clos.etm"
      ]
    },
    {
      "page": "print.etm",
      "title": "Print method for object of class 'etm'",
      "topics": [
        "print.etm"
      ]
    },
    {
      "page": "print.etmCIF",
      "title": "Print function for 'cifETM' objects",
      "topics": [
        "print.etmCIF"
      ]
    },
    {
      "page": "sir.cont",
      "title": "Ventilation status in intensive care unit patients",
      "topics": [
        "sir.cont"
      ]
    },
    {
      "page": "summary.etm",
      "title": "Summary methods for an 'etm' object",
      "topics": [
        "print.summary.etm",
        "summary.etm"
      ]
    },
    {
      "page": "summary.etmCIF",
      "title": "Summary function for cifETM",
      "topics": [
        "print.summary.etmCIF",
        "summary.etmCIF"
      ]
    },
    {
      "page": "tra",
      "title": "Matrix of possible transitions",
      "topics": [
        "tra",
        "tra_comp",
        "tra_ill",
        "tra_ill_comp",
        "tra_surv"
      ]
    },
    {
      "page": "trprob_trcov",
      "title": "Function to extract transition probabilities and (co)variance",
      "topics": [
        "trcov",
        "trcov.etm",
        "trprob",
        "trprob.etm"
      ]
    },
    {
      "page": "xyplot.etm",
      "title": "xyplot method for object of class 'etm'",
      "topics": [
        "xyplot.etm"
      ]
    }
  ],
  "_readme": "https://github.com/cran/etm/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppArmadillo",
    "survival"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "etmCIF_tutorial.Rnw",
      "filename": "etmCIF_tutorial.pdf",
      "title": "Computing Cumulative Incidence Functions with the etmCIF Function",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2013-09-19",
      "modified": "2018-07-04 21:40:03",
      "commits": 2
    }
  ],
  "_score": 7.499673009050202,
  "_indexed": false,
  "_nocasepkg": "etm",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://mclements.r-universe.dev/etm",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-05-29T11:07:43.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "db40647f7f522b67434a3eb635e89c0dee1ecc23",
      "fileid": "ef24baedd883e7d31a1a14b063f73accfb0b1f71b774442926c39bd15a6198c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26633489159"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-05-29T11:07:39.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "db40647f7f522b67434a3eb635e89c0dee1ecc23",
      "fileid": "8de69043b85375dff2f7d918c6a7249914edc48ab0968427afc39b3f7d828dee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26633489159"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-05-29T11:07:53.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "db40647f7f522b67434a3eb635e89c0dee1ecc23",
      "fileid": "40f11f038a5b2e619c9f0c0daf712d7149a883a8d7430ee4300716d3748fea1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26633489159"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-05-29T11:07:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "db40647f7f522b67434a3eb635e89c0dee1ecc23",
      "fileid": "2c26d7dcc025e6dc62453bf777d0ee6cf521627d4f8c98c2db87941e8dd13cd8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26633489159"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-05-29T11:07:32.000Z",
      "arch": "emscripten",
      "commit": "db40647f7f522b67434a3eb635e89c0dee1ecc23",
      "fileid": "edc4e9aa8b068fc30f4c1d7a381b744e8531805665b220dc8c1bdc7285b37753",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26633489159"
    }
  ]
}