Package: crmPack 1.0.6

Daniel Sabanes Bove

crmPack: Object-Oriented Implementation of CRM Designs

Implements a wide range of model-based dose escalation designs, ranging from classical and modern continual reassessment methods (CRMs) based on dose-limiting toxicity endpoints to dual-endpoint designs taking into account a biomarker/efficacy outcome. The focus is on Bayesian inference, making it very easy to setup a new design with its own JAGS code. However, it is also possible to implement 3+3 designs for comparison or models with non-Bayesian estimation. The whole package is written in a modular form in the S4 class system, making it very flexible for adaptation to new models, escalation or stopping rules.

Authors:Daniel Sabanes Bove [aut, cre], Wai Yin Yeung [aut], Giuseppe Palermo [aut], Thomas Jaki [aut]

crmPack_1.0.6.tar.gz
crmPack_1.0.6.tar.gz(r-4.5-noble)crmPack_1.0.6.tar.gz(r-4.4-noble)
crmPack_1.0.6.tgz(r-4.4-emscripten)crmPack_1.0.6.tgz(r-4.3-emscripten)
crmPack.pdf |crmPack.html
crmPack/json (API)
NEWS

# Install 'crmPack' in R:
install.packages('crmPack', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/openpharma/crmpack/issues

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
  • c++– GNU Standard C++ Library v3

jagscpp

4.10 score 1 stars 208 scripts 412 downloads 1 mentions 184 exports 33 dependencies

Last updated 6 months agofrom:088d058a0e. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 24 2024
R-4.5-linuxOKDec 24 2024

Exports:.AllModels.CohortSizeConst.CohortSizeDLT.CohortSizeMax.CohortSizeMin.CohortSizeParts.CohortSizeRange.Data.DataDual.DataMixture.DataParts.Design.DualDesign.DualEndpoint.DualEndpointBeta.DualEndpointEmax.DualEndpointRW.DualResponsesDesign.DualResponsesSamplesDesign.DualSimulations.DualSimulationsSummary.EffFlexi.Effloglog.GeneralData.GeneralModel.GeneralSimulations.GeneralSimulationsSummary.IncrementMin.IncrementsNumDoseLevels.IncrementsRelative.IncrementsRelativeDLT.IncrementsRelativeParts.LogisticIndepBeta.LogisticKadane.LogisticLogNormal.LogisticLogNormalMixture.LogisticLogNormalSub.LogisticNormal.LogisticNormalFixedMixture.LogisticNormalMixture.McmcOptions.Model.ModelEff.ModelPseudo.ModelTox.NextBestDualEndpoint.NextBestMaxGain.NextBestMaxGainSamples.NextBestMTD.NextBestNCRM.NextBestTD.NextBestTDsamples.NextBestThreePlusThree.ProbitLogNormal.PseudoDualFlexiSimulations.PseudoDualSimulations.PseudoDualSimulationsSummary.PseudoSimulations.PseudoSimulationsSummary.RuleDesign.Samples.Simulations.SimulationsSummary.StoppingAll.StoppingAny.StoppingCohortsNearDose.StoppingGstarCIRatio.StoppingHighestDose.StoppingList.StoppingMinCohorts.StoppingMinPatients.StoppingMTDdistribution.StoppingPatientsNearDose.StoppingTargetBiomarker.StoppingTargetProb.StoppingTDCIRatio.TDDesign.TDsamplesDesign%~%approximateas.listbiomLevelCohortSizeConstCohortSizeDLTCohortSizeMaxCohortSizeMinCohortSizePartsCohortSizeRangecrmPackExamplecrmPackHelpDataDataDualDataMixtureDataPartsDesigndoseDualDesignDualEndpointDualEndpointBetaDualEndpointEmaxDualEndpointRWDualResponsesDesignDualResponsesSamplesDesignDualSimulationsEffFlexiEffloglogexamineExpEfffitfitGaingainGeneralSimulationsgetgetEffgetMinInfBetaIncrementMinIncrementsNumDoseLevelsIncrementsRelativeIncrementsRelativeDLTIncrementsRelativePartsinitializeLogisticIndepBetaLogisticKadaneLogisticLogNormalLogisticLogNormalMixtureLogisticLogNormalSubLogisticNormalLogisticNormalFixedMixtureLogisticNormalMixturelogitmatchTolerancemaxDosemaxSizemcmcMcmcOptionsMinimalInformativeminSizemultiplotnextBestNextBestDualEndpointNextBestMaxGainNextBestMaxGainSamplesNextBestMTDNextBestNCRMNextBestTDNextBestTDsamplesNextBestThreePlusThreeplotplotDualResponsesplotGainprobprobitProbitLogNormalPseudoSimulationsQuantiles2LogisticNormalRuleDesignSamplessampleSizesaveSamplesetSeedshowsimulateSimulationssizeStoppingAllStoppingAnyStoppingCohortsNearDoseStoppingGstarCIRatioStoppingHighestDoseStoppingListStoppingMinCohortsStoppingMinPatientsStoppingMTDdistributionStoppingPatientsNearDoseStoppingTargetBiomarkerStoppingTargetProbStoppingTDCIRatiostopTrialsummaryTDDesignTDsamplesDesignThreePlusThreeDesignupdatewriteModel

Dependencies:clicodacolorspacefansifarverGenSAggplot2gluegridExtragtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellmvtnormnlmepillarpkgconfigR6RColorBrewerrjagsrlangscalestibbleutf8vctrsviridisLitewithr

crmPack: Object-oriented implementation of CRM designs

Rendered fromexample.Rnwusingutils::Sweaveon Dec 24 2024.

Last update: 2022-04-25
Started: 2015-11-12

Guidelines for developers and maintainer

Rendered fromguidelines.Rmdusingknitr::rmarkdownon Dec 24 2024.

Last update: 2024-06-27
Started: 2018-12-21

Readme and manuals

Help Manual

Help pageTopics
Object-oriented implementation of CRM designscrmPack-package crmPack
The method combining two atomic stopping rules&,Stopping,Stopping-method
The method combining an atomic and a stopping list&,Stopping,StoppingAll-method
The method combining a stopping list and an atomic&,StoppingAll,Stopping-method
Class for All models This is a class where all models inherit..AllModels AllModels-class
Approximate posterior with (log) normal distributionapproximate approximate,Samples-method
as.list method for the "GeneralData" classas.list,GeneralData-method
Compute the biomarker level for a given dose, given model and samplesbiomLevel biomLevel,numeric,DualEndpoint,Samples-method
The virtual class for cohort sizesCohortSize-class
Initialization function for "CohortSizeConst"CohortSizeConst
Constant cohort size.CohortSizeConst CohortSizeConst-class
Initialization function for "CohortSizeDLT"CohortSizeDLT
Cohort size based on number of DLTs.CohortSizeDLT CohortSizeDLT-class
Initialization function for "CohortSizeMax"CohortSizeMax
Size based on maximum of multiple cohort size rules.CohortSizeMax CohortSizeMax-class
Initialization function for "CohortSizeMin"CohortSizeMin
Size based on minimum of multiple cohort size rules.CohortSizeMin CohortSizeMin-class
Initialization function for "CohortSizeParts"CohortSizeParts
Cohort size based on the parts.CohortSizeParts CohortSizeParts-class
Initialization function for "CohortSizeRange"CohortSizeRange
Cohort size based on dose range.CohortSizeRange CohortSizeRange-class
Open the example pdf for crmPackcrmPackExample
Open the browser with help pages for crmPackcrmPackHelp
Initialization function for the "Data" classData
Class for the data input.Data Data-class
Initialization function for the "DataDual" classDataDual
Class for the dual endpoint data input.DataDual DataDual-class
Initialization function for the "DataMixture" classDataMixture
Class for the data with mixture sharing.DataMixture DataMixture-class
Initialization function for the "DataParts" classDataParts
Class for the data with two study parts.DataParts DataParts-class
Initialization function for "Design"Design
Class for the CRM design.Design Design-class
Compute the doses for a given probability, given model and samplesdose dose,numeric,Model,Samples-method dose,numeric,ModelTox,missing-method dose,numeric,ModelTox,Samples-method
Initialization function for "DualDesign"DualDesign
Class for the dual-endpoint CRM design.DualDesign DualDesign-class
Initialization function for the "DualEndpoint" classDualEndpoint
General class for the dual endpoint model.DualEndpoint DualEndpoint-class
Initialization function for the "DualEndpointBeta" classDualEndpointBeta
Dual endpoint model with beta function for dose-biomarker relationship.DualEndpointBeta DualEndpointBeta-class
Initialization function for the "DualEndpointEmax" classDualEndpointEmax
Dual endpoint model with emax function for dose-biomarker relationship.DualEndpointEmax DualEndpointEmax-class
Initialization function for the "DualEndpointRW" classDualEndpointRW
Dual endpoint model with RW prior for biomarker.DualEndpointRW DualEndpointRW-class
Initialization function for 'DualResponsesDesign"DualResponsesDesign
This is a class of design based on DLE responses using the 'LogisticIndepBeta' model model and efficacy responses using 'ModelEff' model class without DLE and efficacy samples. It contain all slots in 'RuleDesign' and 'TDDesign' class object.DualResponsesDesign DualResponsesDesign-class
Initialization function for 'DualResponsesSamplesDesign"DualResponsesSamplesDesign
This is a class of design based on DLE responses using the 'LogisticIndepBeta' model model and efficacy responses using 'ModelEff' model class with DLE and efficacy samples.It contain all slots in 'RuleDesign' and 'TDsamplesDesign' class object.DualResponsesSamplesDesign DualResponsesSamplesDesign-class
Initialization function for "DualSimulations"DualSimulations
Class for the simulations output from dual-endpoint model based designs.DualSimulations DualSimulations-class
Class for the summary of dual-endpoint simulations output.DualSimulationsSummary DualSimulationsSummary-class
Initialization function for the "EffFlexi" classEffFlexi
Class for the efficacy model in flexible form for prior expressed in form of pseudo data.EffFlexi EffFlexi-class
Initialization function for the "Effloglog" classEffloglog
Class for the linear log-log efficacy model using pseudo data prior.Effloglog Effloglog-class
Obtain hypothetical trial course table for a designexamine examine,Design-method examine,RuleDesign-method
Compute the expected efficacy based on a given dose, a given pseudo Efficacy log-log model and a given efficacy sampleExpEff ExpEff,numeric,EffFlexi,Samples-method ExpEff,numeric,Effloglog,missing-method ExpEff,numeric,Effloglog,Samples-method
Fit method for the Samples classfit fit,Samples,DualEndpoint,DataDual-method fit,Samples,EffFlexi,DataDual-method fit,Samples,Effloglog,DataDual-method fit,Samples,LogisticIndepBeta,Data-method fit,Samples,Model,Data-method
Get the fiited values for the gain values at all dose levels based on a given pseudo DLE model, DLE sample, a pseudo efficacy model, a Efficacy sample and data. This method returns a data frame with dose, middle, lower and upper quantiles of the gain value samplesfitGain fitGain,ModelTox,Samples,ModelEff,Samples,DataDual-method
Compute the gain value with a given dose level, given a pseudo DLE model, a DLE sample, a pseudo Efficacy log-log model and a Efficacy samplegain gain,numeric,ModelTox,missing,Effloglog,missing-method gain,numeric,ModelTox,Samples,EffFlexi,Samples-method gain,numeric,ModelTox,Samples,Effloglog,Samples-method
Class for general data input.GeneralData GeneralData-class
No Intitialization function for this General class for model input.GeneralModel GeneralModel-class
Initialization function for "GeneralSimulations"GeneralSimulations
General class for the simulations output.GeneralSimulations GeneralSimulations-class
Class for the summary of general simulations output.GeneralSimulationsSummary GeneralSimulationsSummary-class
Get specific parameter samples and produce a data.frameget,Samples,character-method
Extracting efficacy responses for subjects without or with a DLE. This is a class where we separate efficacy responses with or without a DLE. It outputs the efficacy responses and their corresponding dose levels treated at in two categories (with or without DLE)getEff getEff,DataDual-method
Get the minimal informative unimodal beta distributiongetMinInfBeta
Initialization function for "IncrementMin"IncrementMin
Max increment based on minimum of multiple increment rules.IncrementMin IncrementMin-class
The virtual class for controlling incrementsIncrements-class
Initialization function for "IncrementsNumDoseLevels"IncrementsNumDoseLevels
Increments control based on number of dose levels.IncrementsNumDoseLevels IncrementsNumDoseLevels-class
Initialization function for "IncrementsRelative"IncrementsRelative
Increments control based on relative differences in intervals.IncrementsRelative IncrementsRelative-class
Initialization function for "IncrementsRelativeDLT"IncrementsRelativeDLT
Increments control based on relative differences in terms of DLTs.IncrementsRelativeDLT IncrementsRelativeDLT-class
Initialization function for "IncrementsRelativeParts"IncrementsRelativeParts
Increments control based on relative differences in intervals, with special rules for part 1 and beginning of part 2.IncrementsRelativeParts IncrementsRelativeParts-class
Initialization method for the "DualEndpointOld" classinitialize,DualEndpointOld-method
Intialization function for "LogisticIndepBeta" classLogisticIndepBeta
No initialization function Standard logistic model with prior in form of pseudo data.LogisticIndepBeta LogisticIndepBeta-class
Initialization function for the "LogisticKadane" classLogisticKadane
Reparametrized logistic model.LogisticKadane LogisticKadane-class
Initialization function for the "LogisticLogNormal" classLogisticLogNormal
Standard logistic model with bivariate (log) normal prior.LogisticLogNormal LogisticLogNormal-class
Initialization function for the "LogisticLogNormalMixture" classLogisticLogNormalMixture
Standard logistic model with online mixture of two bivariate log normal priors.LogisticLogNormalMixture LogisticLogNormalMixture-class
Initialization function for the "LogisticLogNormalSub" classLogisticLogNormalSub
Standard logistic model with bivariate (log) normal prior with substractive dose standardization.LogisticLogNormalSub LogisticLogNormalSub-class
Initialization function for the "LogisticNormal" classLogisticNormal
Standard logistic model with bivariate normal prior.LogisticNormal LogisticNormal-class
Initialization function for the "LogisticNormalFixedMixture" classLogisticNormalFixedMixture
Standard logistic model with fixed mixture of multiple bivariate (log) normal priors.LogisticNormalFixedMixture LogisticNormalFixedMixture-class
Initialization function for the "LogisticNormalMixture" classLogisticNormalMixture
Standard logistic model with flexible mixture of two bivariate normal priors.LogisticNormalMixture LogisticNormalMixture-class
Shorthand for logit functionlogit
Helper function for value matching with tolerance%~% matchTolerance
Determine the maximum possible next dosemaxDose maxDose,IncrementMin,Data-method maxDose,IncrementsNumDoseLevels,Data-method maxDose,IncrementsRelative,Data-method maxDose,IncrementsRelativeDLT,Data-method maxDose,IncrementsRelativeParts,DataParts-method
"MAX" combination of cohort size rulesmaxSize maxSize,CohortSize-method
Obtain posterior samples for all model parametersmcmc mcmc,Data,LogisticIndepBeta,McmcOptions-method mcmc,DataDual,EffFlexi,McmcOptions-method mcmc,DataDual,Effloglog,McmcOptions-method mcmc,DataMixture,GeneralModel,McmcOptions-method mcmc,GeneralData,GeneralModel,McmcOptions-method
Initialization function for the "McmcOptions" classMcmcOptions
Class for the three canonical MCMC options.McmcOptions McmcOptions-class
Construct a minimally informative priorMinimalInformative
"MIN" combination of cohort size rulesminSize minSize,CohortSize-method
Class for the model input.Model Model-class
No Initialization function class for Efficacy models using pseudo data prior.ModelEff ModelEff-class
Class of models using expressing their prior in form of Pseudo data.ModelPseudo ModelPseudo-class
No intialization function Class for DLE models using pseudo data prior. This is a class of DLE (dose-limiting events) models/ toxicity model which contains all DLE models for which their prior are specified in form of pseudo data (as if there is some data before the trial starts). It inherits all slots from 'ModelPseudo'.ModelTox ModelTox-class
Multiple plot functionmultiplot
Find the next best dosenextBest nextBest,NextBestDualEndpoint,numeric,Samples,DualEndpoint,Data-method nextBest,NextBestMaxGain,numeric,missing,ModelTox,DataDual-method nextBest,NextBestMaxGainSamples,numeric,Samples,ModelTox,DataDual-method nextBest,NextBestMTD,numeric,Samples,Model,Data-method nextBest,NextBestNCRM,numeric,Samples,Model,Data-method nextBest,NextBestNCRM,numeric,Samples,Model,DataParts-method nextBest,NextBestTD,numeric,missing,LogisticIndepBeta,Data-method nextBest,NextBestTDsamples,numeric,Samples,LogisticIndepBeta,Data-method nextBest,NextBestThreePlusThree,missing,missing,missing,Data-method
The virtual class for finding next best doseNextBest-class
Initialization function for "NextBestDualEndpoint"NextBestDualEndpoint
The class with the input for finding the next dose based on the dual endpoint model.NextBestDualEndpoint NextBestDualEndpoint-class
Initialization function for the class 'NextBestMaxGain'NextBestMaxGain
Next best dose with maximum gain value based on a pseudo DLE and efficacy model without samples.NextBestMaxGain NextBestMaxGain-class
Initialization function for class "NextBestMaxGainSamples"NextBestMaxGainSamples
Next best dose with maximum gain value based on a pseudo DLE and efficacy model with samples.NextBestMaxGainSamples NextBestMaxGainSamples-class
Initialization function for class "NextBestMTD"NextBestMTD
The class with the input for finding the next best MTD estimate.NextBestMTD NextBestMTD-class
Initialization function for "NextBestNCRM"NextBestNCRM
The class with the input for finding the next dose in target interval.NextBestNCRM NextBestNCRM-class
Initialization function for the class "NextBestTD"NextBestTD
Next best dose based on Pseudo DLE model without sample.NextBestTD NextBestTD-class
Initialization function for class "NextBestTDsamples"NextBestTDsamples
Next best dose based on Pseudo DLE Model with samples.NextBestTDsamples NextBestTDsamples-class
Initialization function for "NextBestThreePlusThree"NextBestThreePlusThree
The class with the input for finding the next dose in target interval.NextBestThreePlusThree NextBestThreePlusThree-class
The method combining two atomic stopping rulesor-Stopping-Stopping |,Stopping,Stopping-method
The method combining a stopping list and an atomicor-Stopping-StoppingAny |,StoppingAny,Stopping-method
The method combining an atomic and a stopping listor-StoppingAny-Stopping |,Stopping,StoppingAny-method
Plot method for the "Data" classplot,Data,missing-method
Plot of the fitted dose-tox based with a given pseudo DLE model and data without samplesplot,Data,ModelTox-method
Plot method for the "DataDual" classplot,DataDual,missing-method
Plot of the fitted dose-efficacy based with a given pseudo efficacy model and data without samplesplot,DataDual,ModelEff-method
Plot dual-endpoint simulationsplot,DualSimulations,missing-method
Plot summaries of the dual-endpoint design simulationsplot,DualSimulationsSummary,missing-method
Plot simulationsplot,GeneralSimulations,missing-method
Graphical display of the general simulation summaryplot,GeneralSimulationsSummary,missing-method
Plot for PseudoDualFlexiSimulationsplot,PseudoDualFlexiSimulations,missing-method
Plot simulationsplot,PseudoDualSimulations,missing-method
Plot the summary of Pseudo Dual Simulations summaryplot,PseudoDualSimulationsSummary,missing-method
Plot summaries of the pseudo simulationsplot,PseudoSimulationsSummary,missing-method
Plotting dose-toxicity and dose-biomarker model fitsplot,Samples,DualEndpoint-method
Plotting dose-toxicity model fitsplot,Samples,Model-method
Plot the fitted dose-effcacy curve using a model from 'ModelEff' class with samplesplot,Samples,ModelEff-method
Plot the fitted dose-DLE curve using a 'ModelTox' class model with samplesplot,Samples,ModelTox-method
Plot summaries of the model-based design simulationsplot,SimulationsSummary,missing-method
Plots gtable objectsplot.gtable
Plot of the DLE and efficacy curve side by side given a DLE pseudo model, a DLE sample, an efficacy pseudo model and a given efficacy sampleplotDualResponses plotDualResponses,ModelTox,missing,ModelEff,missing-method plotDualResponses,ModelTox,Samples,ModelEff,Samples-method
Plot the gain curve in addition with the dose-DLE and dose-efficacy curve using a given DLE pseudo model, a DLE sample, a given efficacy pseudo model and an efficacy sampleplotGain plotGain,ModelTox,missing,ModelEff,missing-method plotGain,ModelTox,Samples,ModelEff,Samples-method
Compute the probability for a given dose, given model and samplesprob prob,numeric,Model,Samples-method prob,numeric,ModelTox,missing-method prob,numeric,ModelTox,Samples-method
Shorthand for probit functionprobit
Initialization function for the "ProbitLogNormal" classProbitLogNormal
Probit model with bivariate log normal prior.ProbitLogNormal ProbitLogNormal-class
Initialization function for 'PseudoDualFlexiSimulations' classPseudoDualFlexiSimulations
This is a class which captures the trial simulations design using both the DLE and efficacy responses. The design of model from 'ModelTox' class and the efficacy model from 'EffFlexi' class It contains all slots from 'GeneralSimulations', 'PseudoSimulations' and 'PseudoDualSimulations' object. In comparison to the parent class 'PseudoDualSimulations', it contains additional slots to capture the sigma2betaW estimates..PseudoDualFlexiSimulations PseudoDualFlexiSimulations-class
Initialization function for 'DualPseudoSimulations' classPseudoDualSimulations
This is a class which captures the trial simulations design using both the DLE and efficacy responses. The design of model from 'ModelTox' class and the efficacy model from 'ModelEff' class (except 'EffFlexi' class). It contains all slots from 'GeneralSimulations' and 'PseudoSimulations' object. In comparison to the parent class 'PseudoSimulations', it contains additional slots to capture the dose-efficacy curve and the sigma2 estimates..PseudoDualSimulations PseudoDualSimulations-class
Class for the summary of the dual responses simulations using pseudo models.PseudoDualSimulationsSummary PseudoDualSimulationsSummary-class
Initialization function of the 'PseudoSimulations' classPseudoSimulations
This is a class which captures the trial simulations from designs using pseudo model. The design for DLE only responses and model from 'ModelTox' class object. It contains all slots from 'GeneralSimulations' object. Additional slots fit and stopReasons compared to the general class 'GeneralSimulations'..PseudoSimulations PseudoSimulations-class
Class for the summary of pseudo-models simulations output.PseudoSimulationsSummary PseudoSimulationsSummary-class
Convert prior quantiles (lower, median, upper) to logistic (log) normal modelQuantiles2LogisticNormal
A Reference Class to represent sequentially updated reporting objects.Report
Initialization function for "RuleDesign"RuleDesign
Class for rule-based designs.RuleDesign RuleDesign-class
Initialization function for "Samples"Samples
Class for the MCMC output.Samples Samples-class
Compute the number of samples for a given MCMC options triplesampleSize
Helper function to set and save the RNG seedsetSeed
Show the summary of the dual-endpoint simulationsshow,DualSimulationsSummary-method
Show the summary of the simulationsshow,GeneralSimulationsSummary-method
Show the summary of Pseudo Dual simulations summaryshow,PseudoDualSimulationsSummary-method
Show the summary of the simulationsshow,PseudoSimulationsSummary-method
Show the summary of the simulationsshow,SimulationsSummary-method
Simulate outcomes from a CRM designsimulate,Design-method
Simulate outcomes from a dual-endpoint designsimulate,DualDesign-method
This is a methods to simulate dose escalation procedure using both DLE and efficacy responses. This is a method based on the 'DualResponsesDesign' where DLEmodel used are of 'ModelTox' class object and efficacy model used are of 'ModelEff' class object. In addition, no DLE and efficacy samples are involved or generated in the simulation processsimulate,DualResponsesDesign-method
This is a methods to simulate dose escalation procedure using both DLE and efficacy responses. This is a method based on the 'DualResponsesSamplesDesign' where DLEmodel used are of 'ModelTox' class object and efficacy model used are of 'ModelEff' class object (special case is 'EffFlexi' class model object). In addition, DLE and efficacy samples are involved or generated in the simulation processsimulate,DualResponsesSamplesDesign-method
Simulate outcomes from a rule-based designsimulate,RuleDesign-method
This is a methods to simulate dose escalation procedure only using the DLE responses. This is a method based on the 'TDDesign' where model used are of 'ModelTox' class object and no samples are involved.simulate,TDDesign-method
This is a methods to simulate dose escalation procedure only using the DLE responses. This is a method based on the 'TDsamplesDesign' where model used are of 'ModelTox' class object DLE samples are also usedsimulate,TDsamplesDesign-method
Initialization function for the "Simulations" classSimulations
Class for the simulations output from model based designs.Simulations Simulations-class
Class for the summary of model-based simulations output.SimulationsSummary SimulationsSummary-class
Determine the size of the next cohortsize size,CohortSizeConst,ANY,Data-method size,CohortSizeDLT,ANY,Data-method size,CohortSizeMax,ANY,Data-method size,CohortSizeMin,ANY,Data-method size,CohortSizeParts,ANY,DataParts-method size,CohortSizeRange,ANY,Data-method
The virtual class for stopping rulesStopping-class
Initialization function for "StoppingAll"StoppingAll
Stop based on fullfillment of all multiple stopping rules.StoppingAll StoppingAll-class
Initialization function for "StoppingAny"StoppingAny
Stop based on fullfillment of any stopping rule.StoppingAny StoppingAny-class
Initialization function for "StoppingCohortsNearDose"StoppingCohortsNearDose
Stop based on number of cohorts near to next best dose.StoppingCohortsNearDose StoppingCohortsNearDose-class
Initialization function for "StoppingGstarCIRatio"StoppingGstarCIRatio
Stop based on a target ratio, the ratio of the upper to the lower 95% credibility interval of the estimate of the minimum of the dose which gives the maximum gain (Gstar) and the TD end of trial, the dose with probability of DLE equals to the target probability of DLE used at the end of a trial..StoppingGstarCIRatio StoppingGstarCIRatio-class
Initialization function for "StoppingHighestDose"StoppingHighestDose
Stop when the highest dose is reached.StoppingHighestDose StoppingHighestDose-class
Initialization function for "StoppingList"StoppingList
Stop based on multiple stopping rules.StoppingList StoppingList-class
Initialization function for "StoppingMinCohorts"StoppingMinCohorts
Stop based on minimum number of cohorts.StoppingMinCohorts StoppingMinCohorts-class
Initialization function for "StoppingMinPatients"StoppingMinPatients
Stop based on minimum number of patients.StoppingMinPatients StoppingMinPatients-class
Initialization function for "StoppingMTDdistribution"StoppingMTDdistribution
Stop based on MTD distribution.StoppingMTDdistribution StoppingMTDdistribution-class
Initialization function for "StoppingPatientsNearDose"StoppingPatientsNearDose
Stop based on number of patients near to next best dose.StoppingPatientsNearDose StoppingPatientsNearDose-class
Initialization function for "StoppingTargetBiomarker"StoppingTargetBiomarker
Stop based on probability of target biomarker.StoppingTargetBiomarker StoppingTargetBiomarker-class
Initialization function for "StoppingTargetProb"StoppingTargetProb
Stop based on probability of target tox interval.StoppingTargetProb StoppingTargetProb-class
Initialization function for "StoppingTDCIRatio"StoppingTDCIRatio
Stop based on a target ratio, the ratio of the upper to the lower 95% credibility interval of the estimate of TD end of trial, the dose with probability of DLE equals to the target probability of DLE used at the end of a trial.StoppingTDCIRatio StoppingTDCIRatio-class
Stop the trial?stopTrial stopTrial,StoppingAll,ANY,ANY,ANY,ANY-method stopTrial,StoppingAny,ANY,ANY,ANY,ANY-method stopTrial,StoppingCohortsNearDose,numeric,ANY,ANY,Data-method stopTrial,StoppingGstarCIRatio,ANY,missing,ModelTox,DataDual-method stopTrial,StoppingGstarCIRatio,ANY,Samples,ModelTox,DataDual-method stopTrial,StoppingHighestDose,numeric,ANY,ANY,Data-method stopTrial,StoppingList,ANY,ANY,ANY,ANY-method stopTrial,StoppingMinCohorts,ANY,ANY,ANY,Data-method stopTrial,StoppingMinPatients,ANY,ANY,ANY,Data-method stopTrial,StoppingMTDdistribution,numeric,Samples,Model,ANY-method stopTrial,StoppingPatientsNearDose,numeric,ANY,ANY,Data-method stopTrial,StoppingTargetBiomarker,numeric,Samples,DualEndpoint,ANY-method stopTrial,StoppingTargetProb,numeric,Samples,Model,ANY-method stopTrial,StoppingTDCIRatio,ANY,missing,ModelTox,ANY-method stopTrial,StoppingTDCIRatio,ANY,Samples,ModelTox,ANY-method
Summarize the dual-endpoint design simulations, relative to given true dose-toxicity and dose-biomarker curvessummary,DualSimulations-method
Summarize the simulations, relative to a given truthsummary,GeneralSimulations-method
Summary for Pseudo Dual responses simulations given a pseudo DLE model and the Flexible efficacy model.summary,PseudoDualFlexiSimulations-method
Summary for Pseudo Dual responses simulations, relative to a given pseudo DLE and efficacy model (except the EffFlexi class model)summary,PseudoDualSimulations-method
Summarize the simulations, relative to a given truthsummary,PseudoSimulations-method
Summarize the model-based design simulations, relative to a given truthsummary,Simulations-method
Initialization function for 'TDDesign' classTDDesign
Design class using DLE responses only based on the pseudo DLE model without sample.TDDesign TDDesign-class
Initialization function for 'TDsamplesDesign' classTDsamplesDesign
This is a class of design based only on DLE responses using the 'LogisticIndepBeta' class model and DLE samples are also used. In addition to the slots in the more simple 'RuleDesign', objects of this class contain:.TDsamplesDesign TDsamplesDesign-class
Creates a new 3+3 design object from a dose gridThreePlusThreeDesign
Update method for the "Data" classupdate,Data-method
Update method for the "DataDual" classupdate,DataDual-method
Update method for the "DataParts" classupdate,DataParts-method
Update method for the 'EffFlexi' Model class. This is a method to update estimates both for the flexible form model and the random walk model (see details in 'EffFlexi' class object) when new data or new observations of responses are available and added in.update,EffFlexi-method
Update method for the 'Effloglog' Model class. This is a method to update the modal estimates of the model parameters theta_1 (theta1), theta_2 (theta2) and nu (nu, the precision of the efficacy responses) when new data or new observations of responses are available and added in.update,Effloglog-method
Update method for the 'LogisticIndepBeta'Model class. This is a method to update the modal estimates of the model parameters phi_1 (phi1) and phi_2 (phi2) when new data or new observations of responses are available and added in.update,LogisticIndepBeta-method
A Reference Class to help programming validation for new S4 classesValidate
Creating a WinBUGS model filewriteModel