Learn R Programming

clinfun (version 1.1.6)

Clinical Trial Design and Data Analysis Functions

Description

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.

Copy Link

Version

Install

install.packages('clinfun')

Monthly Downloads

2,210

Version

1.1.6

License

GPL (>= 2)

Maintainer

Venkatraman E Seshan

Last Published

August 29th, 2026

Functions in clinfun (1.1.6)

twostage.admissible

Admissible design options between Minimax and Optimal
pselect

Probability of selection under pick the winner rule
twostage.inference

Inference following a two-stage design for binary response
roc.perm.test

Permutation test to compare ROC curve
toxbdry

Stopping rule for toxicity/futility monitoring
ROCanalysis

Functions to plot and compare ROC curves.
aucVardiTest

Two-Sample Tests for Growth Curves under Dependent Right Censoring
roc.curve

Empirical ROC curve
power.ladesign

Power of k-sample rank test under Lehmann alternative
coxphERR

Heller Explained Relative Risk
clinfun-internal

Internal clinfun functions
jonckheere.test

Exact/permutation version of Jonckheere-Terpstra test
roc.area.test

Nonparametric area under the ROC curve
gsdesign

Group Sequential Designs
ktau

Kendall's tau-b estimate
coxphQuantile

Survival time quantile as a function of covariate
deltaAUC

Comparing the AUC from ROC curves from nested binary regression
oc.twostage.bdry

Two-stage boundary operating characteristics
coxphCPE

Concordance Probability Estimate for Cox model
permlogrank

Permutation version of survdiff
ph2single

Exact single stage Phase II design
fedesign

Trial Designs Based On Fisher's Exact Test
calogrank

Survival curves analysis of covariance
ph2simon

Simon's 2-stage Phase II design