plot.zcurve {zcurve} | R Documentation |
Plot fitted z-curve object
Description
Plot fitted z-curve object
Usage
## S3 method for class 'zcurve'
plot(
x,
annotation = FALSE,
CI = FALSE,
extrapolate = FALSE,
plot_type = "base",
y.anno = c(0.95, 0.88, 0.78, 0.71, 0.61, 0.53, 0.43, 0.35),
x.anno = 0.6,
cex.anno = 1,
...
)
Arguments
x |
Fitted z-curve object |
annotation |
Add annotation to the plot. Defaults
to |
CI |
Plot confidence intervals for the estimated z-curve. Defaults
to |
extrapolate |
Scale the chart to the extrapolated area. Defaults
to |
plot_type |
Type of plot to by produced. Defaults to |
y.anno |
A vector of length 8 specifying the y-positions
of the individual annotation lines relative to the figure's height.
Defaults to |
x.anno |
A number specifying the x-position of the block of annotations relative to the figure's width. |
cex.anno |
A number specifying the size of the annotation text. |
... |
Additional arguments including |
See Also
Examples
## Not run:
# simulate some z-statistics and fit a z-curve
z <- abs(rnorm(300,3))
m.EM <- zcurve(z, method = "EM", bootstrap = 100)
# plot the z-curve
plot(m.EM)
# add annotation text and model fit CI
plot(m.EM, annotation = TRUE, CI = TRUE)
# change the location of the annotation to the left
plot(m.EM, annotation = TRUE, CI = TRUE, x_text = 0)
## End(Not run)
[Package zcurve version 2.4.2 Index]