Added StoppingDoseStabilized, a stopping rule that
stops when the current next best dose has been administered to a
prespecified number of consecutive cohorts.
Additional plotting options for one-dimensional
nextBest methods are available, including log and equally
spaced factor dose scales, lollipop layers instead of bars, and
dose-grid or regularly spaced axis ticks.
HierarchicalModel now compiles exchangeable normal
priors in non-centered form for JAGS, including analytic Cholesky
transformations for correlated parameter pairs. Non-centered hypermean
nodes use a reserved z_mu_ prefix so pool names such as
"x" and "x_z" cannot generate conflicting JAGS
nodes. In the comparison_decider example, this increased
the minimum effective sample size across monitored parameters from
approximately 450 to 47,000 for 100,000 retained draws, without
increasing runtime.
HierarchicalModel and
HierarchicalDesign now support exchangeable
"eta" pools for TwoDrugsCombo arms. Each
combination arm retains its own interaction parameter while sharing
hyperparameters, and singleton interaction pools are supported so that
the same hierarchical marginal prior can be used with one combination
arm.
Next-dose probability plots now identify the increment, safety, and overdose rules and the recommended dose in legends. It is also possible to use a triangle to mark the highest safe dose. Multi-panel plots put overdose information first and align their plotting areas.
Extended GeneralSimulationsSummary with a
true_mtd slot and enhanced summary plotting
accordingly.
Extended Simulations and
SimulationsSummary classes with overdose probability at the
final selected dose.
Simulation trajectory plots now use stepped blue ribbons to show
the minimum and maximum and interquartile ranges alongside the median,
with a legend and patient-axis ticks inferred from cohort boundaries.
Patient tick positions can also be supplied with the new
patient_scale argument.
Minor grid lines are suppressed when dose-grid or factor axes are used, making next-dose and simulation plots easier to read.
The dependency ggplot2 package now needs to have
minimum version 3.2.0 instead of previously 3.0.0. This should not be a
practical restriction because version 3.2.0 was already released in
2019.
examine() for DADesign now identifies the
current cohort in cohort and lists one cohort index per
additional hypothetical DLT in DLT_cohorts. The numeric
DLTsearly_1 column has been replaced by
DLT_scenario, with values
"no additional DLTs", "late DLTs", and
"early DLTs". DLT_time includes the onset time
of each hypothetical DLT relative to its cohort start and is aligned
with DLT_cohorts. Documentation now explains the scenario
allocations and that DLTs can include patients from earlier
cohorts. The method also correctly counts eligible patients, evaluates
both timing scenarios without duplicate allocations, and advances using
only the current cohort’s zero-DLT recommendation. These fixes remove
replacement-length warnings and correct the no-increment stopping
logic.DesignCombo and
HierarchicalDesign. Please see the new vignette
combo_designs for details.MinimalInformative and
Quantiles2LogisticNormal now also support producing
LogisticLogNormalSub models, i.e. using the subtraction of
a reference dose on the natural dose scale in the regression model.TITELogisticLogNormalSub model which inherits
from LogisticLogNormalSub and can be used for TITE designs,
via DADesign.knit_print method for
LogisticNormalMixture did not render correctly previously;
this is fixed now.NextBestNCRMLoss could be
non-contiguous without the user being notified; this is fixed now, the
construction will fail and ensure contiguous intervals.Design class,
powered by the new Backfill class. This also leads to
breaking changes in the Data and
GeneralSimulationsSummary classes, which gains new slots,
too. Please regenerate any existing Dataor
Designas well as resulting SimulationsSummary
objects; serialized objects from previous versions will not be
compatible.trial_backfill has been added which
describes how to use backfill cohorts in crmPack.Backfill class which allows to specify
backfill cohorts as a new slot in the Design objects.backfilled and response in
the Data class to capture the information whether each
patient has been backfilled, and whether a (binary) efficacy response
was observed (in order to support backfilling rules which depend on a
minimum number of efficacy responses).plot method for Data objects allows to
optionally exclude backfill patients, and mark backfill and response
information.Opening and
Recruitment and corresponding instantiable subclasses to
allow for flexible specification of backfill cohort opening and
recruitment rules.CohortSizeRandom class to allow for random
cohort sizes.Design objects now support backfill
cohorts.GeneralSimulationsSummary got new slots
any_backfilled, n_backfilland
backfill_doses informing whether any backfilling was
planned or took place, the number of backfill patients and the doses of
the backfill patients across the simulations. The corresponding
show method was updated to display this information to the
user.GeneralSimulations got a simple show
method to avoid printing the whole structure to the user, which is
probably not helpful.StoppingPatientsNearDose got a new slot
include_backfill to allow for optionally excluding
backfilled patients from the patient count.futile.logger updates.LogisticNormalFixedMixture objects
did not allow for a floating point calculation deviation in the sum of
the weights when comparing them to 1, which was caught by the
M1mac check on CRAN. This has been fixed now.knitr)crmPack. In particular, there is a new vignette which
describes how to use certain functions and features of
crmPack after the major refactoring.NextBestNCRMLoss and
NextBestEWOC classes and corresponding
nextBest methods.DataGrouped and DesignGrouped
classes with corresponding model LogisticLogNormalGrouped
to support simultaneous dose escalation with monotherapy and combination
therapy arms.DesignOrdinal (simulation is not yet supported). See the
vignette for more details.DADesign.
See the vignette for more details.ProbitLogNormalRel model class to support
the (standardized) dose.knit_print methods for almost all
crmPack classes to improve rendering in Markdown and Quarto
documents. See the vignette for more details.broom-like tidy methods for
all concrete crmPack classes. See the vignette for more
details.futile.logger package, the user
interface consists of four functions: enable_logging,
disable_logging, is_logging_enabled,
log_trace.CrmPackClass class as the ultimate ancestor
of all other crmPack classes to allow identification of
crmPack classes and simpler definition of generic methods..Default<class name> to provide usable instances of
all concrete subclasses of Increments, Model,
NextBest and Stopping.additional_stats to add reporting of
additional parameters to method simulate to summarize
MTD.report_label can be added to stopping rules for
individual or combined stopping rule reporting.IncrementsMaxToxProb class.approximate now returns a list containing
the fitted model and, optionally, a ggplot object of the
approximated dose/toxicity curve.efficacy-EffFlexi method: allowed for
vectorized dose; NA is now returned for doses from outside
of the dose grid range (and the warning is thrown).doselimit argument in nextBest method is
now specified as Inf instead of
numeric(0).nextBest methods
when doselimit not specified.from_prior flag - argument to
modelspecs function at GeneralModel
class.update
methods for Data-like classes. Added check
flag to possibly omit the validation of the updated object.dose_grid_range and
ngrid, which return the range and the number of doses in
the dose grid, respectively.names and size for objects
of class Samples.messgae [sic]
attribute of the return value of stopTrial with signature
stopping = "StoppingTDCIRatio".testthat and added unit and
integration tests.lifecycle package to manage
deprecations and breaking changes.ProbitLogNormal so that it supports the log of
(standardized) dose only.cohort or
ID is provided to the user constructor
Data.sampleSize function so that it returns
0 if burnin > iterations.multiplot function. Please use equivalent
functionality in other packages, such as cowplot or
ggpubr.LogisticNormal now works again - prec was
not found before.BayesLogit dependency by JAGS code, since
BayesLogit was taken off CRAN.documentation:
minor fix on scale_colour_manual import from ggplot2 reported by R-Core
Added arguments probmin and probmax to MinimalInformative in order to control the probability threshold at the minimum and maximum dose for the minimally informative prior
Values of 95% CI and the corresponding ratio of the upper to the lower limit of this CI are displayed in results when using ‘nextBest’
The six- number summary tables including the values of the lowest, 25th percentile, 50th percentile or the median, the mean, the 75th precentile and the highest of the final (at stopping) estimates of the
across all simulations will also be displayed when using ‘summary’ for simulations.
The value of the 95% CI of the final estimates will be displayed in results when using ‘stopTrial’
Bugfixes for dual endpoint designs:
no NEWS until this version