Skip to content

Commit

Permalink
Merge pull request #51 from Merck/cranprep
Browse files Browse the repository at this point in the history
Minor changes to ready for CRAN update
  • Loading branch information
dom-muston committed Jun 7, 2024
2 parents eb70de5 + 160ac1a commit 5878b22
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: psm3mkv
Title: Evaluate Partitioned Survival and State Transition Models
Version: 0.3.1.9000
Version: 0.3.2
Authors@R: c(
person("Dominic", "Muston", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-4876-7940")),
Expand Down
11 changes: 9 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# psm3mkv (development version)
# psm3mkv 0.3.2

# psm3mkv 0.3.2

- Revised calculations of constrained restricted mean durations in internal function `calc_drmd()` and the accompanying `vignette("background-mortality")`.
- Provide a convenience function, `compare_psm_likes()`, to compare the total log-likelihood values for the patient-level dataset after fitting PSM-simple and PSM-complex models to each combination of endpoint distributions.
- Add citation to publication in *Applied Health Economics and Health Policy*, [DOI: 10.1007/s40258-024-00884-2 ](https://doi.org/10.1007/s40258-024-00884-2).
- Updated license statements to 2024

# psm3mkv 0.3.1

Expand All @@ -20,7 +27,7 @@ Several minor changes to ready the package for CRAN.

# psm3mkv 0.2.1 (14 Apr 2024)

Constraining calculations of restricted mean durations and the accompanying `vignette("background-mortality")` has been reworked. The calculations using integral/continuous methods was not reliable. Instead, `calc_allrmds` now has a `rmdmethod="disc"` option to allow for discretized calculations for a given timestep (defaulting at one week). There is a new collection of functions in `discrmd.R` to provide for this, as well as `constrain_survprob()` function, which constrains a vector of survival estimates at given times such that the underlying hazard is at least as great as in an accompanying lifetable.
Constraining calculations of restricted mean durations and the accompanying `vignette("background-mortality")` has been reworked. The calculations using integral/continuous methods was not reliable. Instead, `calc_allrmds()` now has a `rmdmethod="disc"` option to allow for discretized calculations for a given timestep (defaulting at one week). There is a new collection of functions in `discrmd.R` to provide for this, as well as `constrain_survprob()` function, which constrains a vector of survival estimates at given times such that the underlying hazard is at least as great as in an accompanying lifetable.

# psm3mkv 0.2.0 (26 Jan 2024)

Expand Down
11 changes: 1 addition & 10 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
## Resubmission

This is a resubmission. In this version I have:
- Shortened the package title in DESCRIPTION as requested
- Edited the citation as requested in the Description field of DESCRIPTION
- Removed information messages from graph_survs() in probgraphs.R

## Test environments

* win-builder (devel)
Expand All @@ -18,9 +11,7 @@ This is a resubmission. In this version I have:

## R CMD check results

0 errors | 0 warnings | 1 note

* This is a new release.
0 errors | 0 warnings | 0 notes



0 comments on commit 5878b22

Please sign in to comment.