Package: clinDR 2.4.1

clinDR: Simulation and Analysis Tools for Clinical Dose Response Modeling

Bayesian and ML Emax model fitting, graphics and simulation for clinical dose response. The summary data from the dose response meta-analyses in Thomas, Sweeney, and Somayaji (2014) <doi:10.1080/19466315.2014.924876> and Thomas and Roy (2016) <doi:10.1080/19466315.2016.1256229> Wu, Banerjee, Jin, Menon, Martin, and Heatherington(2017) <doi:10.1177/0962280216684528> are included in the package. The prior distributions for the Bayesian analyses default to the posterior predictive distributions derived from these references.

Authors:Neal Thomas [aut, cre], Jing Wu [aut], Mike K. Smith [aut]

clinDR_2.4.1.tar.gz
clinDR_2.4.1.zip(r-4.5)clinDR_2.4.1.zip(r-4.4)clinDR_2.4.1.zip(r-4.3)
clinDR_2.4.1.tgz(r-4.4-any)clinDR_2.4.1.tgz(r-4.3-any)
clinDR_2.4.1.tar.gz(r-4.5-noble)clinDR_2.4.1.tar.gz(r-4.4-noble)
clinDR_2.4.1.tgz(r-4.4-emscripten)clinDR_2.4.1.tgz(r-4.3-emscripten)
clinDR.pdf |clinDR.html
clinDR/json (API)
NEWS

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

Peer review:

Datasets:
  • metaData - Dose response data from several published meta-analyses

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.86 score 1 stars 72 scripts 273 downloads 68 exports 88 dependencies

Last updated 1 years agofrom:94ad283337. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 17 2024
R-4.5-winNOTENov 17 2024
R-4.5-linuxNOTENov 17 2024
R-4.4-winOKNov 17 2024
R-4.4-macOKNov 17 2024
R-4.3-winOKNov 17 2024
R-4.3-macOKNov 17 2024

Exports:bpchkMonoEmaxcheckMonoEmaxcoef.emaxsimcoef.emaxsimBcoef.fitEmaxcoef.fitEmaxBcompileStanModelsDRDensityPlotemaxaltemaxfunemaxPrior.controlemaxsimemaxsimBfitEmaxfitEmaxBFixedMeanmcmc.controlnllogisplot.emaxsimplot.emaxsimBplot.emaxsimBobjplot.emaxsimobjplot.fitEmaxplot.fitEmaxBplot.plotBplotBplotBdensityplotDpredict.emaxaltpredict.emaxsimpredict.emaxsimBpredict.emaxsimBobjpredict.emaxsimobjpredict.fitEmaxpredict.fitEmaxBprint.emaxPriorprint.emaxsimprint.emaxsimBprint.emaxsimBobjprint.emaxsimobjprint.fitEmaxprint.fitEmaxBprior.controlRandEmaxrandomEmaxrunSimulationsSeEmaxselEstanshowStanModelssigma.emaxsimsigma.emaxsimBsigma.fitEmaxsigma.fitEmaxBsolveDosesolveEmaxstartEmaxsummary.emaxsimsummary.emaxsimBsummary.emaxsimBobjsummary.emaxsimobjsummary.fitEmaxsummary.fitEmaxBtargetBetatargetCItargetDupdate.emaxsimobjvcov.emaxsimvcov.fitEmax

Dependencies:abindbackportsbase64encBHbslibcachemcallrcheckmateclicodetoolscolorspacecommonmarkcpp11crayondescdigestdistributionaldoParallelDoseFindingdplyrfansifarverfastmapfontawesomeforeachfsgenericsggplot2gluegridExtragtablehtmltoolshttpuvinlineisobanditeratorsjquerylibjsonlitelabelinglaterlatticelifecycleloomagrittrMASSMatrixmatrixStatsmemoisemgcvmimemunsellmvtnormnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpromisespspurrrQuickJSRR6rappdirsRColorBrewerRcppRcppEigenRcppParallelrlangrstansassscalesshinysourcetoolsStanHeadersstringistringrtensorAtibbletidyrtidyselectutf8vctrsviridisLitewaiterwithrxtable

Readme and manuals

Help Manual

Help pageTopics
Bayesian and maximum likelihood Emax model fitting, graphics and simulation for clinical dose response.clinDR-package
Extract a simulation from the output of emaxsim[.emaxsim
Extract a simulation from the output of emaxsimB[.emaxsimB
Bayes posterior predictive test for Emax (monotone) model fitbpchkMonoEmax
Bayes posterior predictive test for Emax (monotone) model fitcheckMonoEmax
Extract Emax model parameter estimatescoef.emaxsim coef.emaxsimB coef.fitEmax coef.fitEmaxB
Compile 'rstan' Emax models after package 'clinDR' is installedcompileStanModels
Plot Bayes or confidence interval density contours over a grid of points (usually dose or time)DRDensityPlot
Fit 4- or 3-parameter Emax model substituting simpler curves if convergence not achieved.emaxalt
Vectorized versions of the hyperbolic and sigmoidal Emax modelsemaxfun
Set the parameters of the prior distribution for the Emax model implemented in 'fitEmaxB'.emaxPrior.control
Simulate Emax maximum likelihood estimationemaxsim
Simulate Emax Bayesian estimationemaxsimB
Solve Emax function for target valuesolveDose solveEmax
ML fit of hyperbolic or sigmoidal Emax models to continuous/binary dose response data.fitEmax
Bayesian fit of hyperbolic or sigmoidal Emax models to continuous/binary dose response data.fitEmaxB
Fixed means (proportions) random data constructor for emaxsim for continuous or binary dataFixedMean
Settings for 'restan' execution in function 'fitEmaxB'mcmc.control
Dose response data from several published meta-analysesmetaData
The negative log likelihood function for a 3- or 4- parameter Emax model on the logit scale for binary dose response.nllogis
Plot the output of emaxsimplot.emaxsim
Plot the output of emaxsimBplot.emaxsimB
Plot dose response from a data set generated by emaxsimBplot.emaxsimBobj
Plot dose response from a data set generated by emaxsimplot.emaxsimobj
Plot a Emax model and dose group means.plot.fitEmax
Plot a Emax model and dose group means.plot.fitEmaxB
Plot Bayes dose response curve and dose group meansplot.plotB
Plot Bayes dose response curve and dose group meansplotB
Density plot displaying Bayes prior or posterior dose responseplotBdensity
Basic plot of dose group meansplotD
Mean response and SE for specified doses for a simulated object output by function emaxaltpredict.emaxalt
Mean response and SE for specified doses for each replicate data set in an emaxsim objectpredict.emaxsim
Mean response and SE for each replicate data set in an emaxsimB objectpredict.emaxsimB
Mean response estimates (posterior means) and SE (posterior SD) for specified doses for a simulated emaxsimBobj objectpredict.emaxsimBobj
Mean response and SE for specified doses for a simulated emaxsimobj objectpredict.emaxsimobj
Estimated mean/proportion and confidence intervals derived from the maximum likelihood fit of a 3- or 4- parameter Emax model.predict.fitEmax
Estimated mean and posterior intervals derived from a Bayesian hyperbolic or sigmiodial Emax model.predict.fitEmaxB
Print simulation output from emaxsimprint.emaxsim
Print simulation output from emaxsimBprint.emaxsimB
Print a summary of the fitted Emax modelprint.emaxsimBobj
Print a data set generated by emaxsimprint.emaxsimobj
Print a summary of the fitted Emax modelprint.fitEmax
Print a summary of the fitted Bayesian Emax modelprint.fitEmaxB
Print protocol or sap text describing the prior distribution for the model parameters of the input emaxPrior objectprint.emaxPrior
Set the parameters of the prior distribution for the Emax model implemented in 'fitEmaxB'.prior.control
Random data constructor function for emaxsim creating random parameters for an Emax model for continuous or binary data.RandEmax
Random data constructor function for emaxsim(B) creating random parameters for an Emax model for continuous or binary data.randomEmax
Shiny app for function 'emaxsim(B)'runSimulations
Asymptotic SE for dose response estimates from a 3- or 4- parameter Emax modelSeEmax
Select a pre-compiled 'rstan' Emax modelselEstan
Display 'STAN' model code.showStanModels
Extract Emax model residual SD estimatessigma.emaxsim sigma.emaxsimB sigma.fitEmax sigma.fitEmaxB
Compute starting parameter values for the 3- or 4- Emax model.startEmax
Summary of output of emaxsimsummary.emaxsim
Summary of output of emaxsimBsummary.emaxsimB
Summarize Emax fit to a data set generated by emaxsimBsummary.emaxsimBobj
Summarize Emax fit to a data set generated by emaxsimsummary.emaxsimobj
Print a summary of the fitted Emax modelsummary.fitEmax
Print a summary of the fitted Bayesian Emax modelsummary.fitEmaxB
Find a scaled Beta distribution matching specified probabilitiestargetBeta
Compute the dose with confidence interval exceeding a target change from placebo for each simulated example in an emaxsim object.targetCI
Compute the MLE (and its SE) of the dose achieving a specified target improvement from placebo.targetD
Update estimation in a data set generated by emaxsimupdate.emaxsimobj
Extract Emax model variance-covariance matrix for ML estimatesvcov.emaxsim vcov.fitEmax