micompr (version 1.1.0)

plot.cmpoutput: Plot comparison of an output

Description

Plot objects of class cmpoutput.

Usage

# S3 method for cmpoutput
plot(x, ...)

Arguments

x

Object of class cmpoutput.

...

Extra options passed to plot.default. The col option determines the colors to use on observations of different groups (scatter plot only).

Value

None.

Details

This method produces four sub-plots, namely:

  • Scatter plot containing the projection of output observations on the first two dimensions of the principal components space.

  • Bar plot of the percentage of variance explain per principal component.

  • Bar plot of p-values for the parametric test for each principal component.

  • Bar plot of p-values for the non-parametric test for each principal component.

Examples

Run this code
# NOT RUN {
# Comparing the concatenated output of the pphpc_ok dataset, which
# contains simulation output data from two similar implementations of the
# PPHPC model.

plot(cmpoutput("All", 0.95, pphpc_ok$data[["All"]], pphpc_ok$obs_lvls))

# }

Run the code above in your browser using DataLab