PlotCoRNET() is a function for plotting Continuous Restriction for Noting Error Thresholds. In other words, it returns sequential monitoring and interim line and edge.
PlotCoRNET(
object = NULL,
sclAxsX = "sample",
txtTtl = NULL,
group = NULL,
lgcZone = FALSE,
lgcLblStdy = FALSE,
lgcSAP = FALSE,
lgcInvert = FALSE,
lgcSmooth = FALSE,
szFntTtl = 1.8,
szFntTtlX = 1.2,
szFntTtlY = NULL,
szFntAxsX = 0.8,
szFntAxsY = 0.8,
szFntLgnd = 0.7,
szFntLblY = 1.2,
szFntStdy = 0.8,
szFntRIS = 0.8,
szFntAIS = 0.8,
szPntStdy = 1,
szPntASB = 0.8,
szLn0 = 1,
szLnSig = 1,
szLnZCum = 2,
szLnASB = 1,
szLnRIS = 1,
typPntStdy = NULL,
typPntASB = NULL,
typLn0 = 1,
typLnSig = 2,
typLnZCum = 1,
typLnASB = 3,
typLnRIS = 2,
clrTtl = "black",
clrTtlX = "black",
clrTtlY = "black",
clrAxsX = "black",
clrAxsY = "black",
clrLgnd = "black",
clrLblY = "black",
clrLblStdy = "black",
clrLblRIS = "black",
clrLblAIS = "black",
clrPntStdy = "gray25",
clrPntASB = "none",
clrLn0 = "gray25",
clrLnSig = "gray",
clrLnZCum = "blue4",
clrLnASB = "red4",
clrLnRIS = "red4",
anglStdy = 30,
BSB = FALSE
)PlotCoRNET() returns a plot of trial sequential analysis.
OBJECT in DoTSA class that is an output of trial sequential
analysis using function DoTSA().
CHARACTER for indicating unit of scale on axis X.
CHARACTER for user-defined main title on the trial sequential analysis plot.
CHARACTER for labeling two groups.
LOGIC value for indicating whether to show zones.
LOGIC value for indicating whether to label each data source.
LOGIC value for indicating whether to show sequential-adjusted power.
LOGIC value for indicating whether to invert plot.
LOGIC value for indicating whether to smooth error boundaries.
NUMERIC value for indicating font size of main title.
NUMERIC value for indicating font size of title on axis X.
NUMERIC value for indicating font size of title on axis Y.
NUMERIC value for indicating font size of scale on axis X.
NUMERIC value for indicating font size of scale on axis Y.
NUMERIC value for indicating font size of legend.
NUMERIC value for indicating font size of the label of "Cumulative z-score" on axis Y.
NUMERIC value(s) for indicating font size(s) of the label(s) of each data source.
NUMERIC value for indicating font size of the label of required information size.
NUMERIC value for indicating font size of the label of acquired information size.
NUMERIC value(s) for indicating size(s) of observed point(s).
NUMERIC value for indicating size of point(s) on alpha-spending boundaries.
NUMERIC value for indicating width of null line.
NUMERIC value for indicating width of line for statistical significance.
NUMERIC value for indicating width of line for cumulative z-score.
NUMERIC value for indicating width of line for alpha-spending boundaries.
NUMERIC value for indicating width of line for required information size.
NUMERIC value(s) between 1 to 5 for indicating type(s) of observed point(s). Symbols in the current version includes circle, square, diamond, triangle point-up, and triangle point down.
NUMERIC value between 1 to 5 for indicating type of point(s) on alpha-spending boundaries. Symbols in the current version includes circle, square, diamond, triangle point-up, and triangle point down.
NUMERIC value for indicating type of null line.
NUMERIC value for indicating type of line for statistical significance.
NUMERIC value for indicating type of line for cumulative z-score.
NUMERIC value for indicating type of line for alpha-spending boundaries.
NUMERIC value for indicating type of line for required information size.
CHARACTER of a color name for main title.
CHARACTER of a color name for title on axis X.
CHARACTER of a color name for title on axis Y.
CHARACTER of a color name for scale on axis X.
CHARACTER of a color name for scale on axis Y.
CHARACTER of a color name for legend.
CHARACTER of a color name for the label "Cumulative z-score" on axis Y.
CHARACTER of color name(s) for the label(s) of each data source.
CHARACTER of a color name for the label of required information size.
CHARACTER of a color name for the label of acquired information size.
CHARACTER of color name(s) for observed point(s) of data source.
CHARACTER of a color name for point(s) on the alpha-spending boundaries.
CHARACTER of a color name for null line.
CHARACTER of a color name for line of statistical significance.
CHARACTER of a color name for line of cumulative z-score.
CHARACTER of a color name for line of alpha-spending boundaries.
CHARACTER of a color name for line of required information size.
NUMERIC value between 0 and 360 for indicating angle of data source.
LOGIC value for indicating whether to illustrate beta-spending boundaries.
Enoch Kang
Jennison, C., & Turnbull, B. W. (2005). Meta-analyses and adaptive group sequential designs in the clinical development process. Journal of biopharmaceutical statistics, 15(4), 537–558. https://doi.org/10.1081/BIP-200062273.
Wetterslev, J., Jakobsen, J. C., & Gluud, C. (2017). Trial sequential analysis in systematic reviews with meta-analysis. BMC medical research methodology, 17(1), 1-18.
NCSS Statistical Software (2023). Group-sequential analysis for two proportions. In PASS Documentation. Available online: https://www.ncss.com/wp-content/themes/ncss/pdf/Procedures/NCSS/Group-Sequential_Analysis_for_Two_Proportions.pdf
DoTSA
## Not run:
# 1. Import a dataset of study by Fleiss (1993)
library(meta)
data("Fleiss1993bin")
# 2. Perform trial sequential analysis
output <- DoTSA(Fleiss1993bin, study, year,
r1 = d.asp, n1 = n.asp,
r2 = d.plac, n2 = n.plac,
measure = "RR", RRR = 0.2,
group = c("Aspirin", "Placebo"),
plot = TRUE)
# 3. Illustrate plot of trial sequential analysis
PlotCoRNET(output)
## End(Not run)
Run the code above in your browser using DataLab