{
  "_id": "6a17fe58acfb0bcc41dab06f",
  "Package": "GofCens",
  "Type": "Package",
  "Title": "Goodness-of-Fit Methods for Right-Censored Data",
  "Version": "1.5",
  "Date": "2025-05-29",
  "Authors@R": "c(person(\"Klaus\", \"Langohr\", role = c(\"aut\", \"cre\"),\nemail = \"klaus.langohr@upc.edu\",\ncomment = c(ORCID = '0000-0001-7075-9192')),\nperson(\"Mireia\", \"Besalú\", role = \"aut\",\ncomment = c(ORCID = '0000-0003-0473-2404')),\nperson(\"Matilde\", \"Francisco\", role = \"aut\",\ncomment = c(ORCID = '0009-0009-1982-0547')),\nperson(\"Arnau\", \"Garcia\", role = \"aut\",\ncomment = c(ORCID = '0009-0009-7370-6980')),\nperson(\"Guadalupe\", \"Gómez\", role = \"aut\",\ncomment = c(ORCID = '0000-0003-4252-4884')))",
  "Description": "Graphical tools and goodness-of-fit tests for\nright-censored data: 1. Kolmogorov-Smirnov, Cramér-von Mises,\nand Anderson-Darling tests, which use the empirical\ndistribution function for complete data and are extended for\nright-censored data. 2. Generalized chi-squared-type test,\nwhich is based on the squared differences between observed and\nexpected counts using random cells with right-censored data. 3.\nA series of graphical tools such as probability or cumulative\nhazard plots to guide the decision about the most suitable\nparametric model for the data. These functions share several\nfeatures as they can handle both complete and right-censored\ndata, and they provide parameter estimates for the\ndistributions under study.",
  "License": "GPL (>= 2)",
  "URL": "https://arnaugarciagrbio.github.io/GofCens/,\nhttps://github.com/ArnauGarciaGRBIO/GofCens",
  "Encoding": "UTF-8",
  "NeedsCompilation": "no",
  "VignetteBuilder": "knitr",
  "Packaged": {
    "Date": "2026-05-28 08:31:52 UTC",
    "User": "root"
  },
  "Repository": "https://arnaugarciagrbio.r-universe.dev",
  "Date/Publication": "2025-05-29 18:02:46 UTC",
  "RemoteUrl": "https://github.com/arnaugarciagrbio/gofcens",
  "RemoteRef": "HEAD",
  "RemoteSha": "c8c2ac301d48cc1fe28a948d4131625f0612dcda",
  "Author": "Klaus Langohr [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7075-9192>),\nMireia Besalú [aut] (ORCID: <https://orcid.org/0000-0003-0473-2404>),\nMatilde Francisco [aut] (ORCID:\n<https://orcid.org/0009-0009-1982-0547>),\nArnau Garcia [aut] (ORCID: <https://orcid.org/0009-0009-7370-6980>),\nGuadalupe Gómez [aut] (ORCID: <https://orcid.org/0000-0003-4252-4884>)",
  "Maintainer": "Klaus Langohr <klaus.langohr@upc.edu>",
  "MD5sum": "5e0ee79ef1d319e7e114723d87708aec",
  "_user": "arnaugarciagrbio",
  "_type": "src",
  "_file": "GofCens_1.5.tar.gz",
  "_fileid": "b49f98f0af57fe997ecad6bf428820631bb71071945208acf15d67acde82c874",
  "_filesize": 350509,
  "_sha256": "b49f98f0af57fe997ecad6bf428820631bb71071945208acf15d67acde82c874",
  "_created": "2026-05-28T08:31:52.000Z",
  "_published": "2026-05-28T08:35:36.131Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78253509258,
      "time": 173,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7261336204"
    },
    {
      "job": 78253509267,
      "time": 181,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261339018"
    },
    {
      "job": 78253509166,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7261323672"
    },
    {
      "job": 78253509217,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261321551"
    },
    {
      "job": 78252559830,
      "time": 349,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261278273"
    },
    {
      "job": 78253509146,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261314671"
    },
    {
      "job": 78253509283,
      "time": 147,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7261326893"
    },
    {
      "job": 78253509303,
      "time": 130,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7261321056"
    },
    {
      "job": 78253509242,
      "time": 123,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261319069"
    }
  ],
  "_buildurl": "https://github.com/r-universe/arnaugarciagrbio/actions/runs/26563609576",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/arnaugarciagrbio/gofcens",
  "_commit": {
    "id": "c8c2ac301d48cc1fe28a948d4131625f0612dcda",
    "author": "Klaus Langohr <klangohr@UPC-EIO.UPC.ES>",
    "committer": "Klaus Langohr <klangohr@UPC-EIO.UPC.ES>",
    "message": "Update error in internal function\n",
    "time": 1748541766
  },
  "_maintainer": {
    "name": "Klaus Langohr",
    "email": "klaus.langohr@upc.edu",
    "login": "klongear",
    "description": "",
    "uuid": 26723675,
    "orcid": "0000-0001-7075-9192"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "actuar",
      "role": "Depends"
    },
    {
      "package": "fitdistrplus",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "boot",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rms",
      "role": "Suggests"
    }
  ],
  "_owner": "arnaugarciagrbio",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-22",
      "n": 7
    }
  ],
  "_tags": [],
  "_topics": [
    "censored-data",
    "gof",
    "hypothesis-testing",
    "kaplan-meier",
    "survival-analysis"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "arnaugarciagrbio",
      "count": 111,
      "uuid": 180544315
    }
  ],
  "_userbio": {
    "uuid": 180544315,
    "type": "user",
    "name": "Arnau Garcia Fernandez"
  },
  "_downloads": {
    "count": 675,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/GofCens"
  },
  "_devurl": "https://github.com/arnaugarciagrbio/gofcens",
  "_pkgdown": "https://arnaugarciagrbio.github.io/GofCens/",
  "_searchresults": 12,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/GofCens.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/arnaugarciagrbio/gofcens",
  "_realowner": "arnaugarciagrbio",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.91",
      "date": "2021-08-20"
    },
    {
      "version": "0.92",
      "date": "2022-01-05"
    },
    {
      "version": "0.97",
      "date": "2024-03-14"
    },
    {
      "version": "0.98",
      "date": "2024-03-22"
    },
    {
      "version": "1.0",
      "date": "2024-05-23"
    },
    {
      "version": "1.1",
      "date": "2024-07-29"
    },
    {
      "version": "1.2",
      "date": "2024-10-25"
    },
    {
      "version": "1.2.1",
      "date": "2024-11-09"
    },
    {
      "version": "1.5",
      "date": "2025-05-29"
    }
  ],
  "_exports": [
    "ADcens",
    "chisqcens",
    "cumhazPlot",
    "CvMcens",
    "gofcens",
    "kmPlot",
    "KScens",
    "probPlot"
  ],
  "_datasets": [
    {
      "name": "nba",
      "title": "Survival times of former NBA players.",
      "object": "nba",
      "file": "nba.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "survtime",
        "cens"
      ],
      "rows": 3962,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "GofCens-package",
      "title": "Goodness-of-Fit Methods for Right-Censored Data.",
      "topics": [
        "GofCens-package",
        "GofCens"
      ]
    },
    {
      "page": "ADcens",
      "title": "Anderson-Darling test for complete and right-censored data",
      "topics": [
        "ADcens",
        "ADcens.default",
        "ADcens.formula"
      ]
    },
    {
      "page": "chisqcens",
      "title": "General chi-squared statistics for right-censored data.",
      "topics": [
        "chisqcens",
        "chisqcens.default",
        "chisqcens.formula"
      ]
    },
    {
      "page": "cumhazPlot",
      "title": "Cumulative hazard plots to check the goodness of fit of parametric models",
      "topics": [
        "cumhazPlot",
        "cumhazPlot.default",
        "cumhazPlot.formula"
      ]
    },
    {
      "page": "CvMcens",
      "title": "Cramér-von Mises test for complete and right-censored data",
      "topics": [
        "CvMcens",
        "CvMcens.default",
        "CvMcens.formula"
      ]
    },
    {
      "page": "gofcens",
      "title": "Kolmogorov-Smirnov, Cramér-von Mises, and Anderson-Darling tests for complete and right-censored data",
      "topics": [
        "gofcens",
        "gofcens.default",
        "gofcens.formula"
      ]
    },
    {
      "page": "kmPlot",
      "title": "Plot of the Kaplan-Meier and parametric estimations",
      "topics": [
        "kmPlot",
        "kmPlot.default",
        "kmPlot.formula"
      ]
    },
    {
      "page": "KScens",
      "title": "Kolmogorov-Smirnov test for complete and right-censored data",
      "topics": [
        "KScens",
        "KScens.default",
        "KScens.formula"
      ]
    },
    {
      "page": "methods_tests",
      "title": "Methods for 'ADcens', 'chisqcens', 'CvMcens', 'gofcens' and 'KScens' objects.",
      "topics": [
        "methods.ADcens",
        "methods.chisqcens",
        "methods.CvMcens",
        "methods.gofcens",
        "methods.KScens",
        "print.ADcens",
        "print.chisqcens",
        "print.CvMcens",
        "print.gofcens",
        "print.KScens",
        "print.summary.ADcens",
        "print.summary.chisqcens",
        "print.summary.CvMcens",
        "print.summary.gofcens",
        "print.summary.KScens",
        "summary.ADcens",
        "summary.chisqcens",
        "summary.CvMcens",
        "summary.gofcens",
        "summary.KScens"
      ]
    },
    {
      "page": "nba",
      "title": "Survival times of former NBA players.",
      "topics": [
        "nba"
      ]
    },
    {
      "page": "probPlot",
      "title": "Probability plots to check the goodness of fit of parametric models",
      "topics": [
        "probPlot",
        "probPlot.default",
        "probPlot.formula"
      ]
    }
  ],
  "_readme": "https://github.com/arnaugarciagrbio/gofcens/raw/HEAD/README.md",
  "_rundeps": [
    "actuar",
    "boot",
    "cli",
    "cpp11",
    "expint",
    "farver",
    "fitdistrplus",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "MASS",
    "Matrix",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "survival",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "Goodness_of_fit_Tests.Rmd",
      "filename": "Goodness_of_fit_Tests.html",
      "title": "Goodness of fit Tests",
      "author": "Arnau Garcia",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Goodness of fit tests for complete and right-censored data",
        "Kolmogorov-Smirnov test",
        "Cramér-von Mises test",
        "Anderson-Darling",
        "Gofcens function",
        "Chi-squared type test",
        "Real data example: Survival times of retired NBA players"
      ],
      "created": "2024-09-25 11:45:28",
      "modified": "2025-05-19 08:47:28",
      "commits": 5
    }
  ],
  "_score": 4.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "gofcens",
  "_universes": [
    "arnaugarciagrbio",
    "klongear"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5",
      "date": "2026-05-28T08:34:06.000Z",
      "distro": "noble",
      "commit": "c8c2ac301d48cc1fe28a948d4131625f0612dcda",
      "fileid": "5d9f32df36312bd66961ec85e965b7ba6e0d5f564b909f6d35b266c904e21ffc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arnaugarciagrbio/actions/runs/26563609576"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5",
      "date": "2026-05-28T08:34:14.000Z",
      "distro": "noble",
      "commit": "c8c2ac301d48cc1fe28a948d4131625f0612dcda",
      "fileid": "ae38f253f2f0a3f181c4588d49a764011b1acb2add134040cff8ba66e86c4be5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arnaugarciagrbio/actions/runs/26563609576"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5",
      "date": "2026-05-28T08:34:02.000Z",
      "commit": "c8c2ac301d48cc1fe28a948d4131625f0612dcda",
      "fileid": "343f60d74250409428007a1a0ebf573638bd43066134ff8878d1f757e543d2e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arnaugarciagrbio/actions/runs/26563609576"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5",
      "date": "2026-05-28T08:33:50.000Z",
      "commit": "c8c2ac301d48cc1fe28a948d4131625f0612dcda",
      "fileid": "aa50747469d9dc422fde28845f856501c8bc3bb0b685eec2046b14a45344f3c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arnaugarciagrbio/actions/runs/26563609576"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5",
      "date": "2026-05-28T08:34:08.000Z",
      "commit": "c8c2ac301d48cc1fe28a948d4131625f0612dcda",
      "fileid": "143a2df4b4478489c3865bf5d702f383f89e27e05850de4db7b5d116b26b48b4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/arnaugarciagrbio/actions/runs/26563609576"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5",
      "date": "2026-05-28T08:33:25.000Z",
      "commit": "c8c2ac301d48cc1fe28a948d4131625f0612dcda",
      "fileid": "9b368bdb42c8b656c17c605a6ca654337bf8c6873cf6065f675173d0bad4d3a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arnaugarciagrbio/actions/runs/26563609576"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5",
      "date": "2026-05-28T08:33:11.000Z",
      "commit": "c8c2ac301d48cc1fe28a948d4131625f0612dcda",
      "fileid": "11d2ec373dd93c3e8d692b6cc964a7901ac14a6fa1e033d1ecb093e77e428d19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arnaugarciagrbio/actions/runs/26563609576"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5",
      "date": "2026-05-28T08:33:10.000Z",
      "commit": "c8c2ac301d48cc1fe28a948d4131625f0612dcda",
      "fileid": "4de8a80ad6a22cd7929072da46aa0c8cb383359543c42f514fea12eb2a81ca13",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arnaugarciagrbio/actions/runs/26563609576"
    }
  ]
}