Package: dani 1.0-0

dani: Design and Analysis of Non-Inferiority Trials

Provides tools to help with the design and analysis of non-inferiority trials. These include functions for doing sample size calculations and for analysing non-inferiority trials, using a variety of outcome types and population-level sumamry measures. It also features functions to make trials more resilient by using the concept of non-inferiority frontiers, as described in Quartagno et al. (2019) <arxiv:1905.00241>. Finally it includes function to design and analyse MAMS-ROCI (aka DURATIONS) trials.

Authors:Matteo Quartagno

dani_1.0-0.tar.gz
dani_1.0-0.zip(r-4.5)dani_1.0-0.zip(r-4.4)dani_1.0-0.zip(r-4.3)
dani_1.0-0.tgz(r-4.4-any)dani_1.0-0.tgz(r-4.3-any)
dani_1.0-0.tar.gz(r-4.5-noble)dani_1.0-0.tar.gz(r-4.4-noble)
dani_1.0-0.tgz(r-4.4-emscripten)dani_1.0-0.tgz(r-4.3-emscripten)
dani.pdf |dani.html
dani/json (API)

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

Peer review:

Bug tracker:https://github.com/matteo21q/dani/issues

On CRAN:

5.39 score 2 stars 27 scripts 174 downloads 23 exports 167 dependencies

Last updated 3 months agofrom:5f589f310d. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 26 2024
R-4.5-winERROROct 26 2024
R-4.5-linuxERROROct 26 2024
R-4.4-winERROROct 26 2024
R-4.4-macERROROct 26 2024
R-4.3-winERROROct 26 2024
R-4.3-macERROROct 26 2024

Exports:compare.NIfrontier.binarycompare.NIfrontier.continuouscompare.NIfrontier.survivalconvertmargin.binaryconvertmargin.continuousconvertmargin.survivalplot.ROCIpower.NI.binarypower.NI.continuouspower.NIfrontier.binarypower.ROCI.binarysamplesize.NI.binarysamplesize.NI.continuoussamplesize.NI.survivalsamplesize.NIfrontier.binarysamplesize.ROCI.binarysummary.ROCItest.NI.binarytest.NI.continuoustest.NI.survivaltest.NIfrontier.binarytest.ROCI.binarytype1error.NIfrontier.binary

Dependencies:askpassassertthatbackportsbase64encbbmlebdsmatrixBHbitbit64bootbrioBSDAbslibcachemcallrcellrangercheckmateclassclicliprclustercodetoolscolorspacecontingencytablescoxphwcpp11crayoncurldata.tabledescDescrTab2DescToolsdeSolvediffobjdigestdplyre1071evaluateExactexact2x2exactciexpmfansifarverfastGHQuadfastmapflexsurvflextablefontawesomefontBitstreamVerafontLiberationfontquiverforcatsforeignFormulafsgdtoolsgenericsggplot2gldgluegridExtragtablehavenhighrHmischmshtmlTablehtmltoolshtmlwidgetshttrinsightisobandjquerylibjsonlitekableExtraknitrlabelinglatticelifecyclelmommagrittrmarginaleffectsMASSMatrixmemoisemfpmgcvmimemratiosmstatemuhazmultcompmunsellmvtnormnlmennetnumDerivofficeropensslpillarpkgbuildpkgconfigpkgloadpracmapraiseprettyunitsprocessxprogressPropCIsproxypspurrrquadprogR6raggrappdirsratesciRColorBrewerRcppRcppArmadilloRcppEigenreadrreadxlrematchrematch2rlangrmarkdownrootSolverpartrprojrootrstpm2rstudioapisandwichsassscalesssanvstatmodstringistringrsurvivalsurvPresmoothsurvRM2svglitesyssystemfontstestthattextshapingTH.datatibbletidyrtidyselecttinytextzdbutf8uuidvctrsviridisviridisLitevroomwaldowithrxfunxml2yamlzipzoo

Introduction

Rendered fromIntroduction.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2024-04-10
Started: 2023-12-13

Readme and manuals

Help Manual

Help pageTopics
Comparing Non-Inferiority Frontiers for trials with binary outcomescompare.NIfrontier.binary
Comparing Non-Inferiority Frontiers for trials with continuous outcomescompare.NIfrontier.continuous
Comparing Non-Inferiority Frontiers for trials with survival outcomescompare.NIfrontier.survival
Function to convert non-inferiority margin for binary outcome between summary measures.convertmargin.binary
Function to convert non-inferiority margin for continuous outcome between summary measures.convertmargin.continuous
Function to convert non-inferiority margin for survival outcome between summary measures.convertmargin.survival
Plot treatment-response curve estimated with a ROCI trialplot.ROCI
Function to compute the power for a given sample size for a standard 2-arm non-inferiority trial.power.NI.binary
Power calculation tool for Non-Inferiority trials with a continuous outcome.power.NI.continuous
Function to compute the power for a given sample size for a 2-arm non-inferiority trial designed using non-inferiority frontiers.power.NIfrontier.binary
Function to compute the power for a given sample size for a MAMS-ROCI (aka DURATIONS) randomised trial.power.ROCI.binary
Sample size calculation tool for Non-Inferiority trials with a binary outcome.samplesize.NI.binary
Sample size calculation tool for Non-Inferiority trials with a continuous outcome.samplesize.NI.continuous
Sample size calculation tool for Non-Inferiority trials with a survival outcome.samplesize.NI.survival
Sample size calculator for trials with binary outcomes designed with Non-Inferiority Frontierssamplesize.NIfrontier.binary
Function to compute the necessary sample size for a MAMS-ROCI (aka DURATIONS) randomised trial.samplesize.ROCI.binary
Summarise the results of the analysis of a MAMS-ROCI trialsummary.ROCI
Non-inferiority testing with binary outcome.test.NI.binary
Non-inferiority testing with continuous outcome.test.NI.continuous
Non-inferiority testing with survival outcome.test.NI.survival
Non-inferiority testing with binary outcome using a non-inferiority frontier.test.NIfrontier.binary
Function to analyse a MAMS-ROCI (aka DURATIONS) randomised trial.test.ROCI.binary
Function to compute type 1 error rate for a 2-arm non-inferiority trial designed using non-inferiority frontiers.type1error.NIfrontier.binary