pppvalue.plot: Plot Pointwise Adjusted Permutation P-values (PPPvalue)

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/pppvalue.plot.R

Description

Plot the object of the function pppvalue basically.

Usage

1
2
pppvalue.plot(pvalues, xind = NULL, ylab = NULL, color = NULL,
  type = NULL, lty = NULL, pch = NULL, legend = TRUE, ...)

Arguments

pvalues

Output of pppvalue function.

xind

A vector of the coordinates of points.

ylab

A title for the y axis.

color

The color of points or lines appearing in the plot.

type

What type of plot should be drawn. "o" is default.

lty

The line types for lines appearing in the legend.

pch

The plotting symbols appearing in the plot.

legend

logical; if TRUE the legend is shown and its position currently is fixed at "bottomright".

...

Other arguments to be passed to plot function

Value

Figure of pointwise adjusted p-values

Author(s)

Meng Xu mxu@campus.haifa.ac.il

References

Xu, M., and Reiss, P. T. (2019). Distribution-Free Pointwise Adjusted P-Values for Functional Hypotheses. https://arxiv.org/abs/1912.00360.

See Also

pppvalue

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
set.seed(123)
library(pppvalue)
obs <- rnorm(20,mean=2, sd=2)
perms <- matrix(rnorm(20*999),20)
pvals <- pppvalue(obs, perms)
pppvalue.plot(pvals)

## End(Not run)

wtagr/pppvalue documentation built on Jan. 13, 2020, 12:27 a.m.