plot.cmpoutput: Plot comparison of an output

View source: R/cmpoutput.R

plot.cmpoutputR Documentation

Plot comparison of an output

Description

Plot objects of class cmpoutput.

Usage

## S3 method for class '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).

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.

Value

None.

Examples


# 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))


fakenmc/micompr documentation built on Feb. 3, 2024, 1:30 a.m.