plot.sci.ratio {mratios}R Documentation

Plot output for sci.ratio and sci.ratio.gen

Description

Plot the intervals returned by sci.ratio

Usage

## S3 method for class 'sci.ratio':
plot(x, rho0 = 1, rho0lty = 2, CIvert = FALSE, CIlty = 1, CIlwd = 1, CIcex = 1, main = NULL, ylab = NULL, xlab = NULL, sub = NULL, ...)

Arguments

x an object of class "sci.ratio" as can be obtained by calling the function sci.ratio
rho0 a single numeric value or vector of values defining the hypothesized ratio
rho0lty integer values to specify the line type for the rho0 line
CIvert logical, CI are plotted vertical if CIvert=TRUE and horizontal otherwise
CIlty numeric value, giving the line type of the plotted confidence interval, see argument lty in ?par
CIlwd numeric value, giving the line width of the plotted confidence interval, see argument lwd in ?par
CIcex a single numeric value: by which amount the symbols in the CI shall scaled relative to the default see argument cex in ?par
main character string to be plotted as main title of the plot
ylab character string, label of the y axis (ignored if CIvert=TRUE)
xlab character string, label of the x axis (ignored if CIvert=FALSE)
sub as in plot
... further arguments from plot or par, e.g. cex.axis

Details

Too long names of the contrasts/comparisons should be avoided, otherwise use par() to change plot parameters.

Value

A plot of the confidence intervals in the sci.ratio object.

Author(s)

Frank Schaarschmidt

References

plot.hmtest(multcomp)

See Also

plot.hmtest(multcomp)

Examples


data(angina)
aCI<-sci.ratio(response~dose, data=angina, type="Dunnett", alternative="greater")

# Visualize testing for superiority

plot(aCI, rho0=1.25, rho0lty=3)



[Package mratios version 1.0 Index]