PlotProductratio: Product-Ratio Plot

PlotProductratioR Documentation

Product-Ratio Plot

Description

The product-ratio plot as defined in [Tukey, 1977, p. 594].

Usage

PlotProductratio(X, Y, na.rm = FALSE, 

main='Product Ratio Analysis',xlab = "Log of Ratio",ylab = "Root of Product", ...)

Arguments

X

[1:n] positive numerical vector, negativ values are removed automatically

Y

[1:n] positive numerical vector, negativ values are removed automatically

na.rm

Function may not work with non finite values. If these cases should be automatically removed, set parameter TRUE

main

see plot

ylab

see plot

xlab

see plot

...

further arguments passed on to plot

Details

In the case where there are many instances of very small values, but a small number of very large ones, this plot is usefull [Tukey, 1977, p. 615].

Value

matrix[1:n,2] with sqrt(x*y) and log(x/y) as the two columns

Author(s)

Michael Thrun

References

[Tukey, 1977] Tukey, J. W.: Exploratory data analysis, United States Addison-Wesley Publishing Company, ISBN: 0-201-07616-0, 1977.

Examples

#Beware: The data does no fit ne requirements for this approach
data('ITS')
data(MTY)
PlotProductratio(ITS,MTY)

DataVisualizations documentation built on Oct. 10, 2023, 9:06 a.m.