Skip to content

GofCens

Goodness-of-Fit Methods for Right-Censored Data

v1.5 · May 29, 2025 · GPL (>= 2)

Description

Graphical tools and goodness-of-fit tests for right-censored data: 1. Kolmogorov-Smirnov, Cramér-von Mises, and Anderson-Darling tests, which use the empirical distribution function for complete data and are extended for right-censored data. 2. Generalized chi-squared-type test, which is based on the squared differences between observed and expected counts using random cells with right-censored data. 3. A series of graphical tools such as probability or cumulative hazard plots to guide the decision about the most suitable parametric model for the data. These functions share several features as they can handle both complete and right-censored data, and they provide parameter estimates for the distributions under study.

Downloads

CRAN

665

Last 30 days

5109th

2K

Last 90 days

8.2K

Last year

Trend: -0.6% (30d vs prior 30d)

r2u CRAN

2

Last 30 days

27

Last 90 days

101

Last year

Trend: -77.8% (30d vs prior 30d)

autoCRAN

9

Last 7 days

18

Last 30 days

4

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

45 8 exported

Complexity

21.7 avg / 155 max

Call network

45 nodes / 8 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Compare versions

Code

Structure

Lines of code

7,874

Files

67

Compiled share

0%

Has compiled src

No

Language breakdown

R 6,583 (83.6%)Docs 1,126 (14.3%)Vignettes 165 (2.1%)

API

Exported functions

8

Internal functions

37

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

10%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

100%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

9

First release

2021-08-20

Latest release

2025-05-29

Avg cadence

78 days

Cold removal rate

100%

Dep drift

6

LOC over versions

v0.91: 1,637 LOCv0.92: 1,656 LOCv0.97: 3,125 LOCv0.98: 3,126 LOCv1.0: 3,812 LOCv1.1: 4,249 LOCv1.2: 6,533 LOCv1.2.1: 6,379 LOCv1.5: 7,874 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies survival actuar fitdistrplus ggplot2 gridExtra boot parTimeROC GofCens

Version History

10 tracked
new 1.5 Mar 10, 2026
updated 1.5 ← 1.2.1 diff May 28, 2025
updated 1.2.1 ← 1.2 diff Nov 8, 2024
updated 1.2 ← 1.1 diff Oct 24, 2024
updated 1.1 ← 1.0 diff Jul 28, 2024
updated 1.0 ← 0.98 diff May 22, 2024
updated 0.98 ← 0.97 diff Mar 21, 2024
updated 0.97 ← 0.92 diff Mar 13, 2024
updated 0.92 ← 0.91 diff Jan 4, 2022
new 0.91 Aug 19, 2021