Learn R Programming

OCplus (version 1.46.0)

plot.fdr1d.result: Plot univariate local false discovery output

Description

A plotting function for fdr1d.

Usage

plot.fdr1d.result(x, add = FALSE, grid = FALSE, rug = TRUE, xlab = "t-Statistic", ylab = "fdr", lcol = "black", ...)

Arguments

x
output from fdr1d
add
logical value indicating whether to create a new plot or add to an existing one
grid
logical value indicating whether to show the intervals used for calculating the fdr.
rug
logical value indicating whether to add a 1D scatterplot showing the observed test statistics
xlab, ylab
the usual axis labels
lcol
the color of the lines
...
extra options passed to plot.default.

See Also

fdr1d

Examples

Run this code
example(fdr1d)
plot(res1d, grid=TRUE, rug=FALSE)

Run the code above in your browser using DataLab