Learn R Programming

MTest (version 1.0.2)

plot.MTest: Plot density or empirical cumulative distribution from MTest

Description

Plot density or empirical cumulative distribution from Bvals in MTest output.

Usage

# S3 method for MTest
plot(x, type=1,plotly = FALSE,...)

Value

Produces a plot. No values are returned.

Arguments

x

an object of the class "MTest"

type

Numeric; 1 if density, 2 if ecdf plot is returned

plotly

Logical; if FALSE, a ggplotly plot is returned

...

other arguments to be passed to the function ggplot

Details

This function plots density or empirical cumulative distribution function from MTest bootstrap replications.

See Also

MTest for procedure and examples.