levelplot.JPtest: Levelplot method for data in a 'JPtest' object

Description Usage Arguments Value

View source: R/JPtest.R

Description

Plot a chosen result matrix contained in the test entry of a JPtest object. The underlying function is the lattice::levelplot.matrix function.

Usage

1
2
## S3 method for class 'JPtest'
levelplot(JPobj, what = "pvalues", rotate = TRUE, plot = TRUE, ...)

Arguments

JPobj

the JPtest object to plot.

what

a character or an integer. Which component of the test entry in JPobj should be plotted? Can be any of projections, statistics, pvalues or, respectively, 1, 2 or 3.

rotate

a logical. Should the matrix containing the data be transposed before plotting? By default in lattice::levelplot.matrix, the rows of the plotted matrix correspond to the x-axis.

plot

a logical. Should the lattice object be plotted?

...

further arguments passed to the lattice::levelplot function.

Value

An object of class trellis, invisibly.


flatness documentation built on June 29, 2021, 9:08 a.m.