Add Lines With Posterior Predictive Distribution of Z-Statistics
Source:R/zcurve.R
      lines.zcurve_RoBMA.RdAdds lines to a plot of a fitted zcurve_RoBMA object. This function is typically used to overlay additional information or model fits on an existing plot.
Arguments
- x
 A RoBMA object
- conditional
 whether conditional estimates should be plotted. Defaults to
FALSEwhich plots the model-averaged estimates. Note that both"weightfunction"and"PET-PEESE"are always ignoring the other type of publication bias adjustment.- plot_type
 whether to use a base plot
"base"or ggplot2"ggplot"for plotting. Defaults to"base".- probs
 quantiles of the posterior samples to be displayed. Defaults to
c(.025, .975)- max_samples
 Maximum number of samples from the posterior distribution that will be used for estimating z-curve estimates.
- extrapolate
 Logical indicating whether to extrapolate values beyond the observed data range.
- plot_CI
 Should credible intervals be included in the plot? Defaults to TRUE.
- from
 Lower bound of the z-value range for plotting. Defaults to -6.
- to
 Upper bound of the z-value range for plotting. Defaults to 6.
- by
 Numeric value specifying the increment for the sequence.
- length.out
 Optional integer specifying the desired length of the output sequence.
- col
 Color of the plotted line.
- ...
 list of additional graphical arguments to be passed to the plotting function. Supported arguments are
lwd,lty,col,col.fill,xlab,ylab,main,xlim,ylimto adjust the line thickness, line type, line color, fill color, x-label, y-label, title, x-axis range, and y-axis range respectively.