Package: clinfun 1.1.6

clinfun: Clinical Trial Design and Data Analysis Functions

Utilities to make your clinical collaborations easier if not fun. It contains functions for designing studies such as Simon 2-stage and group sequential designs and for data analysis such as Jonckheere-Terpstra test and estimating survival quantiles.

Authors:Venkatraman E. Seshan [aut, cre], Karissa Whiting [aut]

clinfun_1.1.6.tar.gz
clinfun_1.1.6.zip(r-4.7)clinfun_1.1.6.zip(r-4.6)clinfun_1.1.6.zip(r-4.5)
clinfun_1.1.6.tgz(r-4.6-x86_64)clinfun_1.1.6.tgz(r-4.6-arm64)clinfun_1.1.6.tgz(r-4.5-x86_64)clinfun_1.1.6.tgz(r-4.5-arm64)
clinfun_1.1.6.tar.gz(r-4.7-arm64)clinfun_1.1.6.tar.gz(r-4.7-x86_64)clinfun_1.1.6.tar.gz(r-4.6-arm64)clinfun_1.1.6.tar.gz(r-4.6-x86_64)
clinfun_1.1.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
clinfun/json (API)
NEWS

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

Bug tracker:https://github.com/veseshan/clinfun/issues

Uses libs:
  • fortran– Runtime library for GNU Fortran applications
Datasets:
  • ipmn - Comparing the AUC from ROC curves from nested binary regression

On CRAN:

Conda:

fortran

7.21 score 6 stars 9 packages 187 scripts 2.7k downloads 30 exports 1 dependencies

Last updated from:a1966795e6. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK137
linux-devel-x86_64OK121
source / vignettesOK156
linux-release-arm64OK116
linux-release-x86_64OK118
macos-release-arm64OK167
macos-release-x86_64OK239
macos-oldrel-arm64OK195
macos-oldrel-x86_64OK193
windows-develOK91
windows-releaseOK94
windows-oldrelOK83
wasm-releaseOK96

Exports:aucVardiTestbdrycross.probcalogrankcoxphCPEcoxphERRcoxphQuantileCPS.ssizedeltaAUCfe.mdorfe.powerfe.ssizefutilbdrygsdesign.binomialgsdesign.normalgsdesign.survivaljonckheere.testmdrroc.twostage.bdryor2pcasepermlogrankph2simonph2singlepower.ladesignpselectroc.area.testroc.curveroc.perm.testtoxbdrytwostage.admissibletwostage.inference

Dependencies:mvtnorm

Functions For Clinical Trial Design

Rendered fromclinical-trial-functions.Rmdusingknitr::rmarkdownon May 17 2026.

Last update: 2023-04-27
Started: 2023-03-06

Readme and manuals

Help Manual

Help pageTopics
Two-Sample Tests for Growth Curves under Dependent Right CensoringaucVardiTest
Survival curves analysis of covariancecalogrank
Concordance Probability Estimate for Cox modelcoxphCPE
Heller Explained Relative RiskcoxphERR
Survival time quantile as a function of covariatecoxphQuantile
Comparing the AUC from ROC curves from nested binary regressiondeltaAUC ipmn
Trial Designs Based On Fisher's Exact TestCPS.ssize fe.mdor fe.power fe.ssize fedesign mdrr or2pcase
Group Sequential Designsgsdesign gsdesign.binomial gsdesign.normal gsdesign.survival
Exact/permutation version of Jonckheere-Terpstra testjonckheere.test
Kendall's tau-b estimatektau
Two-stage boundary operating characteristicsoc.twostage.bdry
Permutation version of survdiffpermlogrank
Simon's 2-stage Phase II designph2simon plot.ph2simon print.ph2simon
Exact single stage Phase II designph2single
Power of k-sample rank test under Lehmann alternativepower.ladesign print.ladesign
Probability of selection under pick the winner rulepselect
Nonparametric area under the ROC curveprint.roc.area.test roc.area.test
Empirical ROC curvelines.roc.curve plot.roc.curve print.roc.curve roc.curve
Permutation test to compare ROC curveplot.roc.perm.test print.roc.perm.test roc.perm.test
Functions to plot and compare ROC curves.ROCanalysis rocanalysis
Stopping rule for toxicity/futility monitoringbdrycross.prob futilbdry print.futilbdry print.toxbdry toxbdry
Admissible design options between Minimax and Optimaltwostage.admissible
Inference following a two-stage design for binary responsetwostage.inference