{
  "_id": "6a227b2dcd65a98ecbd4dfd6",
  "Package": "relsurv",
  "Type": "Package",
  "Title": "Relative Survival",
  "Version": "2.3-3",
  "Date": "2025-08-08",
  "Authors@R": "c(person(c(\"Maja\",\"Pohar\",\"Perme\"),role=c(\"aut\"),email=\"maja.pohar@mf.uni-lj.si\"), person(c(\"Damjan\",\"Manevski\"),role=c(\"aut\", \"cre\"),email=\"damjan.manevski@mf.uni-lj.si\"))",
  "Author": "Maja Pohar Perme [aut], Damjan Manevski [aut, cre]",
  "Maintainer": "Damjan Manevski <damjan.manevski@mf.uni-lj.si>",
  "Description": "Contains functions for analysing relative survival data,\nincluding nonparametric estimators of net (marginal relative)\nsurvival, relative survival ratio, crude mortality, methods for\nfitting and checking additive and multiplicative regression\nmodels, transformation approach, methods for dealing with\npopulation mortality tables. Work has been described in Pohar\nPerme, Pavlic (2018) <doi:10.18637/jss.v087.i08>.",
  "License": "GPL (>= 2)",
  "RoxygenNote": "7.3.2",
  "LazyData": "true",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-05 07:26:24 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-08-18 11:10:09 UTC",
  "RemoteUrl": "https://github.com/cran/relsurv",
  "RemoteRef": "HEAD",
  "RemoteSha": "31d903fe90ac5d2be29b8099565da368a3e4ea23",
  "MD5sum": "2a958b13a8dc1e8a6a325115fa52f169",
  "_user": "cran",
  "_type": "src",
  "_file": "relsurv_2.3-3.tar.gz",
  "_fileid": "9275a5966fc2765f5063e311e6a2a35d40a8abfe1479d85bb42a37d35bde45ac",
  "_filesize": 563219,
  "_sha256": "9275a5966fc2765f5063e311e6a2a35d40a8abfe1479d85bb42a37d35bde45ac",
  "_created": "2026-06-05T07:26:24.000Z",
  "_published": "2026-06-05T07:30:53.196Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79683272737,
      "time": 210,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7431155208"
    },
    {
      "job": 79683272733,
      "time": 197,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7431150550"
    },
    {
      "job": 79683272735,
      "time": 193,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431150219"
    },
    {
      "job": 79683272722,
      "time": 188,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431148210"
    },
    {
      "job": 79682738779,
      "time": 239,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431094847"
    },
    {
      "job": 79683272701,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431132233"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27001455449",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/relsurv",
  "_commit": {
    "id": "31d903fe90ac5d2be29b8099565da368a3e4ea23",
    "author": "Damjan Manevski <damjan.manevski@mf.uni-lj.si>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.3-3\n",
    "time": 1755515409
  },
  "_maintainer": {
    "name": "Damjan Manevski",
    "email": "damjan.manevski@mf.uni-lj.si"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "survival",
      "version": ">= 3.1",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "pammtools",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.10",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 5,
  "_updates": [
    {
      "week": "2025-34",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.3-3",
      "date": "2025-08-18"
    }
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "mpoper",
      "count": 33,
      "uuid": 259560879
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 5906,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/relsurv"
  },
  "_mentions": 20,
  "_searchresults": 69,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/relsurv.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2005-01-21"
    },
    {
      "version": "1.1",
      "date": "2005-05-25"
    },
    {
      "version": "1.1-1",
      "date": "2005-06-02"
    },
    {
      "version": "1.2",
      "date": "2006-02-16"
    },
    {
      "version": "1.3",
      "date": "2006-08-23"
    },
    {
      "version": "1.4",
      "date": "2007-10-11"
    },
    {
      "version": "1.5",
      "date": "2008-11-12"
    },
    {
      "version": "1.5.1",
      "date": "2009-05-27"
    },
    {
      "version": "1.5.2",
      "date": "2009-10-26"
    },
    {
      "version": "1.5.3",
      "date": "2010-01-22"
    },
    {
      "version": "1.5.4",
      "date": "2010-02-12"
    },
    {
      "version": "1.6",
      "date": "2010-06-01"
    },
    {
      "version": "1.6.2",
      "date": "2011-01-12"
    },
    {
      "version": "1.6.3",
      "date": "2011-05-21"
    },
    {
      "version": "1.6.4",
      "date": "2011-06-02"
    },
    {
      "version": "1.6-5",
      "date": "2012-02-17"
    },
    {
      "version": "2.0",
      "date": "2012-02-28"
    },
    {
      "version": "2.0-1",
      "date": "2012-03-21"
    },
    {
      "version": "2.0-2",
      "date": "2012-05-16"
    },
    {
      "version": "2.0-3",
      "date": "2012-06-07"
    },
    {
      "version": "2.0-4",
      "date": "2013-04-04"
    },
    {
      "version": "2.0-5",
      "date": "2015-05-28"
    },
    {
      "version": "2.0-6",
      "date": "2015-08-14"
    },
    {
      "version": "2.0-7",
      "date": "2016-01-15"
    },
    {
      "version": "2.0-8",
      "date": "2016-04-12"
    },
    {
      "version": "2.0-9",
      "date": "2016-04-25"
    },
    {
      "version": "2.1",
      "date": "2017-07-27"
    },
    {
      "version": "2.1-1",
      "date": "2017-10-05"
    },
    {
      "version": "2.1-2",
      "date": "2018-04-05"
    },
    {
      "version": "2.2",
      "date": "2018-08-09"
    },
    {
      "version": "2.2-1",
      "date": "2018-08-28"
    },
    {
      "version": "2.2-2",
      "date": "2018-10-18"
    },
    {
      "version": "2.2-3",
      "date": "2018-11-30"
    },
    {
      "version": "2.2-4",
      "date": "2021-06-17"
    },
    {
      "version": "2.2-5",
      "date": "2021-07-05"
    },
    {
      "version": "2.2-6",
      "date": "2021-12-01"
    },
    {
      "version": "2.2-7",
      "date": "2022-03-09"
    },
    {
      "version": "2.2-8",
      "date": "2022-08-12"
    },
    {
      "version": "2.2-9",
      "date": "2022-12-22"
    },
    {
      "version": "2.3-1",
      "date": "2025-01-20"
    },
    {
      "version": "2.3-2",
      "date": "2025-01-28"
    },
    {
      "version": "2.3-3",
      "date": "2025-08-18"
    }
  ],
  "_exports": [
    "cmp.rel",
    "epa",
    "expprep2",
    "invtime",
    "joinrate",
    "nessie",
    "plot_f",
    "plot_years",
    "popsurv",
    "predict.aalen.model",
    "predict.rsadd",
    "residuals.rsadd",
    "rs.br",
    "rs.diff",
    "rs.surv",
    "rs.surv.rsadd",
    "rs.zph",
    "rsaalen",
    "rsadd",
    "rsmul",
    "rstrans",
    "survaalen",
    "survfit.rsadd",
    "survsplit",
    "transrate",
    "transrate.hld",
    "transrate.hmd",
    "years"
  ],
  "_datasets": [
    {
      "name": "colrec",
      "title": "Relative Survival Data",
      "object": "colrec",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sex",
        "age",
        "diag",
        "time",
        "stat",
        "stage",
        "site"
      ],
      "rows": 5971,
      "table": true,
      "tojson": true
    },
    {
      "name": "ebmt1wide",
      "title": "EBMT Data Taken From Package mstate",
      "object": "ebmt1wide",
      "class": [
        "msdata",
        "data.frame"
      ],
      "fields": [
        "patid",
        "from",
        "to",
        "trans",
        "Tstart",
        "Tstop",
        "time",
        "status",
        "age",
        "score",
        "age.1",
        "age.2",
        "age.3"
      ],
      "rows": 4410,
      "table": true,
      "tojson": true
    },
    {
      "name": "rdata",
      "title": "Survival Data",
      "object": "rdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "cens",
        "age",
        "sex",
        "year",
        "agegr"
      ],
      "rows": 1040,
      "table": true,
      "tojson": true
    },
    {
      "name": "slopop",
      "title": "Census Data Set for the Slovene Population",
      "object": "slopop",
      "class": [
        "ratetable"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "cmp.rel",
      "title": "Compute crude probability of death",
      "topics": [
        "cmp.rel",
        "print.cmp.rel"
      ]
    },
    {
      "page": "colrec",
      "title": "Relative Survival Data",
      "topics": [
        "colrec"
      ]
    },
    {
      "page": "ebmt1wide",
      "title": "EBMT Data Taken From Package mstate",
      "topics": [
        "ebmt1wide"
      ]
    },
    {
      "page": "epa",
      "title": "Excess hazard function smoothing",
      "topics": [
        "epa"
      ]
    },
    {
      "page": "expprep2",
      "title": "expprep2 function",
      "topics": [
        "expprep2"
      ]
    },
    {
      "page": "invtime",
      "title": "Inverse transforming of time in Relative Survival",
      "topics": [
        "invtime"
      ]
    },
    {
      "page": "joinrate",
      "title": "Join ratetables",
      "topics": [
        "joinrate"
      ]
    },
    {
      "page": "nessie",
      "title": "Net Expected Sample Size Is Estimated",
      "topics": [
        "nessie"
      ]
    },
    {
      "page": "plot_f",
      "title": "Plot the absolute risk (observed and population curve)",
      "topics": [
        "plot_f"
      ]
    },
    {
      "page": "plot_years",
      "title": "Plot the years measure",
      "topics": [
        "plot_years"
      ]
    },
    {
      "page": "plot.cmp.rel",
      "title": "Plot the crude probability of death",
      "topics": [
        "plot.cmp.rel"
      ]
    },
    {
      "page": "plot.rs.zph",
      "title": "Graphical Inspection of Proportional Hazards Assumption in Relative Survival Models",
      "topics": [
        "plot.rs.zph"
      ]
    },
    {
      "page": "popsurv",
      "title": "Calculate the expected (population) survival",
      "topics": [
        "popsurv"
      ]
    },
    {
      "page": "predict.aalen.model",
      "title": "Subject-specific prediction for an Aalen model",
      "topics": [
        "predict.aalen.model"
      ]
    },
    {
      "page": "predict.rsadd",
      "title": "Subject-specific prediction for an excess hazards model",
      "topics": [
        "predict.rsadd"
      ]
    },
    {
      "page": "rdata",
      "title": "Survival Data",
      "topics": [
        "rdata"
      ]
    },
    {
      "page": "residuals.rsadd",
      "title": "Calculate Residuals for a \"rsadd\" Fit",
      "topics": [
        "residuals.rsadd"
      ]
    },
    {
      "page": "rs.br",
      "title": "Test the Proportional Hazards Assumption for Relative Survival Regression Models",
      "topics": [
        "plot.rs.br",
        "print.rs.br",
        "rs.br"
      ]
    },
    {
      "page": "rs.diff",
      "title": "Test Net Survival Curve Differences",
      "topics": [
        "print.rsdiff",
        "rs.diff"
      ]
    },
    {
      "page": "rs.surv",
      "title": "Compute a Relative Survival Curve",
      "topics": [
        "rs.surv"
      ]
    },
    {
      "page": "rs.surv.rsadd",
      "title": "Compute a Relative Survival Curve from an additive relative survival model",
      "topics": [
        "rs.surv.rsadd"
      ]
    },
    {
      "page": "rs.zph",
      "title": "Behaviour of Covariates in Time for Relative Survival Regression Models",
      "topics": [
        "rs.zph"
      ]
    },
    {
      "page": "rsaalen",
      "title": "Fit an extended additive hazards model using relative survival",
      "topics": [
        "rsaalen"
      ]
    },
    {
      "page": "rsadd",
      "title": "Fit an Additive model for Relative Survival",
      "topics": [
        "rsadd"
      ]
    },
    {
      "page": "rsmul",
      "title": "Fit Andersen et al Multiplicative Regression Model for Relative Survival",
      "topics": [
        "rsmul"
      ]
    },
    {
      "page": "rstrans",
      "title": "Fit Cox Proportional Hazards Model in Transformed Time",
      "topics": [
        "rstrans"
      ]
    },
    {
      "page": "slopop",
      "title": "Census Data Set for the Slovene Population",
      "topics": [
        "slopop"
      ]
    },
    {
      "page": "summary.cmp.rel",
      "title": "Summary of the crude probability of death",
      "topics": [
        "summary.cmp.rel"
      ]
    },
    {
      "page": "survaalen",
      "title": "Fit an additive hazards model",
      "topics": [
        "survaalen"
      ]
    },
    {
      "page": "survfit.rsadd",
      "title": "Compute a Predicited Survival Curve",
      "topics": [
        "survfit.rsadd"
      ]
    },
    {
      "page": "survsplit",
      "title": "Split a Survival Data Set at Specified Times",
      "topics": [
        "survsplit"
      ]
    },
    {
      "page": "transrate",
      "title": "Reorganize Data into a Ratetable Object",
      "topics": [
        "transrate"
      ]
    },
    {
      "page": "transrate.hld",
      "title": "Reorganize Data obtained from Human Life-Table Database into a Ratetable Object",
      "topics": [
        "transrate.hld"
      ]
    },
    {
      "page": "transrate.hmd",
      "title": "Reorganize Data obtained from Human Mortality Database into a Ratetable Object",
      "topics": [
        "transrate.hmd"
      ]
    },
    {
      "page": "years",
      "title": "Compute one of the life years measures",
      "topics": [
        "years"
      ]
    }
  ],
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "cmprsk",
    "codetools",
    "colorspace",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "doParallel",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "foreign",
    "Formula",
    "fs",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "glmnet",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lava",
    "lazyeval",
    "lifecycle",
    "listenv",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mets",
    "mgcv",
    "mime",
    "multcomp",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "pammtools",
    "parallelly",
    "pec",
    "pillar",
    "pkgconfig",
    "plotrix",
    "polspline",
    "prodlim",
    "progressr",
    "Publish",
    "purrr",
    "quantreg",
    "R6",
    "ranger",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "riskRegression",
    "rlang",
    "rmarkdown",
    "rms",
    "rpart",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "scam",
    "shape",
    "SparseM",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "timereg",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "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": "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"
    }
  ],
  "_score": 5.4852037967580145,
  "_indexed": true,
  "_nocasepkg": "relsurv",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3-3",
      "date": "2026-06-05T07:29:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "31d903fe90ac5d2be29b8099565da368a3e4ea23",
      "fileid": "37bd5e164ad8006332fdff8c31b5eb2a7bb74d787e61652aa69f1d4a9b751849",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27001455449"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3-3",
      "date": "2026-06-05T07:29:12.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "31d903fe90ac5d2be29b8099565da368a3e4ea23",
      "fileid": "538ec9544074d216776a9bb649f91a2886e1515726c307222d79601f310c429a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27001455449"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.3-3",
      "date": "2026-06-05T07:29:25.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "31d903fe90ac5d2be29b8099565da368a3e4ea23",
      "fileid": "0f7636e0ffe017f21d37d917de1fca8032e8284430fca62abb0f5d300f0f7e82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27001455449"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.3-3",
      "date": "2026-06-05T07:29:08.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "31d903fe90ac5d2be29b8099565da368a3e4ea23",
      "fileid": "43e2e839dc74bdf899bf42d4c27f4eae705ca84ce119d801619eff5a1b76b054",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27001455449"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3-3",
      "date": "2026-06-05T07:29:07.000Z",
      "arch": "emscripten",
      "commit": "31d903fe90ac5d2be29b8099565da368a3e4ea23",
      "fileid": "c86b820c24ccfee9780d8112d5bceeb0af9822f220f4da577ed0173f5b764cd5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27001455449"
    }
  ]
}