myImagePlot: Plot a projection matrix

Description Usage Arguments Value References Examples

View source: R/myImagePlot.R

Description

Function to plot an image from a projection matrix.

Usage

1

Arguments

x

A projection matrix

...

Other arguments to be passed in the function

Value

Return a plot the input matrix.

References

Mehmood, T., Liland, K. H., Snipen, L., & Saebo, S. (2012). A review of variable selection methods in partial least squares regression. Chemometrics and Intelligent Laboratory Systems, 118, 62-69.

Examples

1
2
3
4
5
## create a diagonal matrix
diagM <- diag(1, 100, 100)

## plot the diagonal matrix
myImagePlot(diagM)

AlexandreWadoux/soilspec documentation built on March 7, 2021, 1:54 p.m.