plot.RTSA: Plot RTSA object. Returns the R version of the original TSA...

View source: R/RTSA_plot.R

plot.RTSAR Documentation

Plot RTSA object. Returns the R version of the original TSA plot.

Description

Plot RTSA object. Returns the R version of the original TSA plot.

Usage

## S3 method for class 'RTSA'
plot(x, model = "random", type = "classic", theme = "classic", ...)

Arguments

x

RTSA object

model

Whether a fixed- or random-effects meta-analysis should be used. Defaults to random.

type

Should Z-scores (classic) or outcome values (outcome) be plotted.

theme

Whether the theme is traditional TSA (classic) or modern (modern)

...

Other arguments to plot.RTSA

Value

Plot. Either a plot for two sided testing or one-sided

Examples

data(perioOxy)
outRTSA <- RTSA(type = "analysis", data = perioOxy, outcome = "RR", mc = 0.8,
 side = 2, alpha = 0.05, beta = 0.2, fixed = FALSE, es_alpha = "esOF", design = NULL)
plot(x = outRTSA)


RTSA documentation built on Nov. 23, 2023, 9:11 a.m.