Skip to content

Commit 03d618b

Browse files
committed
Documentation fixes to correct notes
1 parent ae42bd6 commit 03d618b

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Description: Fits and evaluates three-state partitioned survival analyses
1010
(PartSAs) and Markov models (clock forward or clock reset) to
1111
progression and overall survival data typically collected in oncology clinical trials. These model structures are typically considered in
1212
cost-effectiveness modeling in advanced/metastatic cancer indications.
13-
Muston (2024). "Informing structural assumptions for three state oncology cost-effectiveness models through model efficiency and fit". Applied Health Economics and Health Policy. DOI 10.1007/s40258-024-00884-2
13+
Muston (2024). "Informing structural assumptions for three state oncology cost-effectiveness models through model efficiency and fit". Applied Health Economics and Health Policy.
1414
License: GPL (>= 3)
1515
URL: https://merck.github.io/psm3mkv/, https://github.com/Merck/psm3mkv
1616
BugReports: https://github.com/Merck/psm3mkv/issues

R/likepsm.R

+4-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@
3939
#' parfits <- fit_ends_mods_par(bosonc)
4040
#' splfits <- fit_ends_mods_spl(bosonc)
4141
#' # Present comparison of likelihood calculations
42+
#' \donttest{
4243
#' compare_psm_likes(bosonc, parfits)
43-
#' # compare_psm_likes(bosonc, splfits)
44+
#' compare_psm_likes(bosonc, splfits)
45+
#' }
4446
compare_psm_likes <- function(ptdata, fitslist, cuttime=0) {
4547
# Determine whether fit is a spline, then call the right function
4648
if (fitslist$pfs[[1]]$result$dlist$name=="survspline") {
@@ -181,7 +183,7 @@ compare_psm_likes_spl <- function(ptdata, fitslist, cuttime=0) {
181183
if (length(fitslist)!=6) {stop("The list provided to fitslist must contain all 6 endpoints")}
182184
# Create local variables
183185
eps <- ndists <- aic_indbest <- bic_indbest <- bests <- res <- thisfit <- aic_jtbest <- bic_jtbest <- NULL
184-
ll <- rank_aic <- ttp_meth <- pfs_dist <- os_dist <- rank_bic <- NULL
186+
ll <- rank_aic <- ttp_meth <- ttp_knots <- pfs_scales <- pfs_knots <- os_scales <- os_knots <- rank_bic <- NULL
185187
# Best fits by AIC or BIC
186188
eps <- c(1, 3, 4)
187189
fits_aic <- eps |>

man/compare_psm_likes.Rd

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/psm3mkv-package.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)