NEWS.md

PAmeasures 2.0.0

New features

Compatibility and input handling

Documentation and analysis workflows

TimeMetric 0.2.1

Calibration

Paper integration

CRAN review corrections

Resubmission addressing the CRAN review of 0.2.0 and correcting numerical errors found during independent validation. Several metric values change; analyses using previous versions should be rerun.

Numerical and API corrections

TimeMetric 0.2.0

Package-quality release preparing resubmission to JOSS. The evaluation methodology is unchanged; metric values are identical to 0.1.0 except where a defect is listed below.

Installation

Renamed API

Every exported function now carries a tm_ prefix, correcting the survial and surverg misspellings and dropping the pam. prefix inherited from PAmeasures. All previous names still work and forward to their replacement with a deprecation warning; see ?"TimeMetric-deprecated".

Removed metrics

Bug fixes

The rule is now nearest observed time with ties broken toward the earlier event time, which is also independent of input row order. All metrics now agree bit-for-bit across arm64 macOS, x86_64 Linux and x86_64 Windows. Integrated and concordance metrics were never affected.

Gt() is now a reverse-Kaplan-Meier step function with no interpolation between jump times, using G(t) for the evaluation-time weight and G(t-) for subject-specific event-time weights, and the reverse-Kaplan-Meier tie convention. It returns NA beyond the last observed time and errors when the censoring distribution is exhausted, rather than substituting a value. Values agree exactly with pec::ipcw().

Reported Brier scores on tied data at an evaluation time between jump times were substantially overstated: on one 200-observation fixture the reported value was 0.75 against a correct 0.22. Metrics other than brier_score are unaffected, as is tm_survival_eval(), which computes the Brier score by a different route.

Metric names

Standardized to one ASCII identifier per quantity. Legacy spellings are still accepted, case-insensitively and tolerant of apostrophe style, with a deprecation warning:

brier_score, c_index, harrell_c, l_square, l2_point, pseudo_r2, pseudo_r2_point, r_square, r2_point, td_auc, uno_c

Removed

Thirteen unreachable functions were deleted after a call-graph analysis and, for the metric implementations, an equivalence audit against the original Stare-Perme-Henderson reference code:

Testing and infrastructure



Try the PAmeasures package in your browser

Any scripts or data that you put into this service are public.

PAmeasures documentation built on Oct. 29, 2026, 1:08 a.m.