plot.assumptions_cmpoutput {micompr}R Documentation

Plot p-values for testing the assumptions of the parametric tests used in output comparison

Description

Plot method for objects of class assumptions_cmpoutput containing p-values produced by testing the assumptions of the parametric tests used for comparing an output.

Usage

## S3 method for class 'assumptions_cmpoutput'
plot(x, ...)

Arguments

x

Objects of class assumptions_cmpoutput.

...

Extra options passed to plot.default.

Details

Several bar plots are presented, showing the p-values yielded by the Shapiro-Wilk (shapiro.test) and Royston tests (mvn) for univariate and multivariate normality, respectively, and for the Bartlett (bartlett.test) and Box's M (boxM) for testing homogeneity of variances and of covariance matrices, respectively. The following bar plots are shown:

Value

None.

Examples


# Create a cmpoutput object from the provided datasets
cmp <- cmpoutput("All", 0.9, pphpc_ok$data[["All"]], pphpc_ok$obs_lvls)

# Display a bar plot with the p-values of the assumptions for the parametric
# tests performed in cmp
plot(assumptions(cmp))


[Package micompr version 1.1.4 Index]