Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor changes to ready for CRAN update #51

Merged
merged 4 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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



Loading