Learn R Programming

GNGTools

Copy Link

Version

Install

install.packages('GNGTools')

Monthly Downloads

5

Version

1.0.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Greg Cicconetti

Last Published

December 15th, 2022

Functions in GNGTools (1.0.0)

Discord_NoGo

Discord_NoGo
Intr_func

Intr_func
Discord_Go

Discord_Go
Reparameterized.gamma

Reparameterized Gamma distribution functions
Reparameterized.normal

Reparameterized normal functions
Reparameterized.beta

Reparameterized Beta distribution functions
Location.scale.t

Location-scale t distribution functions
df_to_clip

Copy a data.frame to the clipboard
SverdlovFunction

Sverdlov's functions
Discord_Grey

Discord_Grey
get.ss.bin.df

Get single sample binary data.frame
geom_stepribbon

geom_stepribbon geom_stepribbon is an extension of the geom_ribbon, and is optimized for Kaplan-Meier plots with pointwise confidence intervals or a confidence band.
gcurve

gcurve
get.ss.bin.int.oc.sim

Get single sample binary interim operating charactersitics simulations
get.ng.post

Normal-Gamma Posterior Updating
get.ss.bin.int.oc

Get single sample binary interim operating characteristics simulation
get.ng.post.df

Normal-Gamma Posterior Updating data.frame
get.normal.ss.post

Get normal single sample posterior parameters
get.ss.bin.int.df

Get single sample binary interim data.frame
get.ss.bin.int.GNG

Get single sample binary interim Go-NoGo
get.ss.ng.df

Get single sample normal-gamma data.frame with decision output
get.ss.ng.ssize.oc.df

Get single sample normal-gamma sample size Oc curve data.frame
get.ss.bin.trt.int.oc.df

Get single sample binary interim treatment OC data.frame
get.ss.bin.trt.oc.df

Get single sample binary treatment OC data.frame
get.ss.normal.post

Get single sample normal (with known variance) posterior distribution parameters
get.ss.ng.trt.oc.df

Get single sample normal-gamma treament OC data.frame
get.ss.bin.ssize.oc.df

Get single sample binary sample size operating charactersitics data.frame
get.ss.bin.studyend.GNG

Get single sample binary study end GNG criteria
get.ss.ng.studyend.GNG

Get single sample normal-gamma study-end GNG
get.ss.ng.trt.int.oc.df

Get single sample normal-gamma interim operating characteristic data.frame
get.ts.bin.studyend.GNG

Get Two-sample binary study end GNG
get.ts.bin.ssize.oc.df

Get two-sample binary sample size OC data.frame
get.ts.bin.dec

Get two sample binary decision
get.ts.bin.dec.df

Get Two-sample binary decision data.frame
get.ts.bin.int.dec

Get two-sample binary interim decision
get.ts.bin.int.oc

Get two sample binary interim OC
get.tte.post.df

Get posterior parameters for two-sample time to event case using normal approximation to log(HR) - data.frame
get.tte.post.param

Get TTE posterior parameters
get.ts.ng.ssize.oc.df

Get two sample normal-gamma sample size OC data.frame
get.ts.ng.mc.df

Get two-sample normal-gamma MC-based data.frame
get.tte.post

Get posterior parameters for two-sample time to event case using normal approximation to log(HR) - expand.grid
get.tte.int.oc.df

Make time to event predictive probability OC curve
get.tte.trt.oc.df

Get TTE treatment effect OC curve data.frame
goparallel

Goparallel - initiate a parallel computing environment
get.tte.df

Get time to event data.frame
get.ts.ng.trt.oc.df

Get two-sample normal-gamma treatment OC data.frame
make.ss.bin.int.GStable

Make single sample binary interim Group-sequential style table
make.ss.bin.int.dec.GridPlot

Make single sample binary interim decision grid
make.ss.bin.int.oc.table

Make single sample binary interim OC table
make.ss.bin.int.oc.plotSplit

Make single sample binary interim OC Split plot
make.ss.bin.int.req.table

Make single sample binary pred prob table
make.ss.bin.int.req.plot2

Make single sample binary interim Group-sequential style plot
get.ts.ng.studyend.GNG

Get two-sample normal gamma study end GNG
get.ts.ng.trt.int.oc.df

Get two-sample normal-gamma interim OC curve data.frame
make.ss.bin.trt.int.oc

Make single sample binary Operating characteristic function vs. treatment effect
make.ss.bin.int.ocplot

Make single sample binary interim OC curve
make.ss.bin.int.req.plot

Make single sample binary predictive probability plot
make.ss.bin.trt.oc1

Make single sample binary treatment oc curve
make.ss.ng.trt.int.oc

Make single sample normal-gamma interim treatment oc curve
make.ss.ng.trt.oc1

Make single sample normal-gamma treatment OC curve
make.ss.bin.ssize.oc2

Make single sample binary sample size OC - trend version
make.ss.ng.ria

Make single sample normal-gamma rule in action plot
make.ss.bin.ssize.oc

Make single sample binary sample size OC curve
make.ts.bin.int.dec.df

Make two-sample binary interim decision table
make.ss.ng.trt.oc2

Make single sample normal-gamma treatment OC curve V2
make.ts.bin.trt.oc2

Make two-sample binary treatment OC curve V2
make.ts.bin.trt.oc1

Make two-sample binary treatment OC curve
make.ss.bin.trt.oc2

Make single sample binary treatment oc curve version 2
make.ss.ng.int.req.plot

Make single sample normal-gamma interim data requirement plot
make.ss.ng.int.req.table

Make single sample normal-gamma interim data requirements table
make.ts.bin.int.oc.plot

Make two-sample binary interim oc plot
make.ts.bin.ppp

Make two-sample binary prior/posterior plot
make.ts.bin.int.dec.plot

Make two-sample binary interim decision plot
make.ss.ng.ssize.oc

Make single sample normal gamma sample size OC
make.ts.ng.int.oc

Make two-sample normal-gamma interim OC plot
make.tte.int.oc

Make TTE interim treatment OC curve
make.ts.bin.ria

Make two-sample binary rule in action plot
make.tte.ppp

Make Time to event prior/posterior plot
make.ts.ng.studyend.GNG.hm

Make two-sample normal-gamma studyend GNG Heatmap
make.ss.ng.ppp

Make singple sample normal-gamma prior posterior plot
make.tte.int.data.plot

Make time to event predictive probability cutoff plot
make.tte.int.data.table

Make TTE predictive probability table
make.ts.bin.studyend.GNG.hm

Make two-sample binary study end GNG heatmap
make.ts.bin.ssize.oc

Make two-sample binary sample size operating characteristics curve
make.tte.ssize.oc

Make time-to-event sample size OC curve
return.ss.ng.int.req

Return single sample normal-gamma predictive probability
return.ts.bin.int.predprob

Return two-sample binary interim predictive probability
return.tte.int.data.req

Title
make.tte.ria

Make time to event rule in action plot
make.ts.ng.ppp

Make two-sample normal-gamma prior/posterior plot
get.ts.bin.trt.oc.df

Get two-sample binary treatment OC data.frame
pbetabinom_c

Replacement for pbetanimom
make.ts.ng.trt.oc2

Make two-sample normal-gamma treatment OC curve V2
make.ts.ng.trt.oc1

Make two-sample normal-gamma treatment OC curve
make.ts.ng.studyend.criteria

Create lookup table for study-end
return.ts.bin.int.predprob.table

Return two-sample binary predictive probability table
p2beta_diff

Probability for difference of x or more between two beta distributions
normal.gamma

Density function for the Normal-Gamma distribution
ocTable_multi

Single sample binary helper functions
return.ts.bin.studyend.GNG.hm.df

Return two-sample binary study end GNG heatmap data.frame
p2beta_diff_Vector

Probability for difference of x or more between two beta distributions
return.tte.pp

Return time to event preditive probility
return.ts.ng.int.req.df

Return two-sample normal-gamma predictive probability
return.ts.ng.studyend.GNG.hm.df

Return two-sample normal-gamma study end GNG heatmap data.frame
return.ss.ng.data.req.df

Get single sample normal-gamma interim treatment effect OC data.frame
return.ss.ng.int.data.req

Return single sample normal-gamma predictive probability
pooled.sd

Pooled standard deviation
get.tte.ssize.oc.df

Get time to event sample size OC data.frame
get.tte.studyend.GNG

Get TTE studyend GNG decision
interim.calculator

interim.calculator
get.ts.ng.mc

Get two-sample normal gamma MC sampling
list_to_dataframe

List to data frame from plyr
make.ts.bin.int.oc.table

Make two-sample binary interim OC table
make.ts.bin.pp.heatmap

Make two-sample binary predictive probability heatmap
make.tte.trt.oc1

Make time to event treatment OC curve
probmat.func

probmat.func
make.tte.trt.oc2

Make time to event treatment OC curve v2
make.ss.bin.ppp

Make single sample binary prior/posterior plot
make.ss.bin.ria

Make single sample binary rule in action plot
make.ts.ng.ssize.oc

Make two-sample normal gamma sample size OC curve
make.ts.ng.ria

Make two-sample normal-gamma rule in action plot
return.ss.bin.int.req

Return single sample binary predictive probability